Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Victoria 2 posts 22 karma points
    Oct 17, 2011 @ 10:51
    Victoria
    0

    Database error while importing data from csv to mysql database using cmsimport free version

    Hi Richard,

    I've been trying to import event records using cmsimport free version but I got a database error  while importing saying   'Error while importing data for property 'eventCity' :You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*) FROM CMSDATATYPE WHERE NODEID = -88 AND (DBTYPE= 'Nvarchar' OR DBTYPE='Ntext'' at line 1'.

    Log shows:

    ExecuteReader ---> MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0) =0' at line 1 at MySql.Data.MySqlClient.MySqlStream.OpenPacket() at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySqlConnection connection, MySqlTransaction transaction, String commandText, MySqlParameter[] commandParameters, Boolean ExternalConn) at MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText, MySqlParameter[] commandParameters) at umbraco.DataLayer.SqlHelpers.MySql.MySqlHelper.ExecuteReader(String commandText, MySqlParameter[] parameters) at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) --- End of inner exception stack trace --- at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) at CMSImportLibrary.DAL.ScheduledTask.() at CMSImportLibrary.Scheduler.Scheduler.ExecuteScheduledTasks()

    Please help me to solve the issue.

     

    Thanks,

    Victoria

     

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Oct 17, 2011 @ 10:54
    Richard Soeteman
    0

    Hi Victoria,

    Sorry to say but MySql is not supported so it is very well possible that it is throwing erros.

    Best,

    Richard

  • Victoria 2 posts 22 karma points
    Oct 17, 2011 @ 11:08
    Victoria
    0

    Richard,

      Does cmsimport professional version support data import to the MySql database?

    Thanks again,

    Victoria

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Oct 17, 2011 @ 11:13
    Richard Soeteman
    0

    Hi Victoria,

    No sorry MySql is not supported at all since my knowledge about MySql is limited.

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft