CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2010
    Posts
    17

    Exclamation Error when running MySql Script file in Dotnet installer

    Dear Sir/Madam,

    We are using NSIS to install an application and we have a MySql Script file, which is using inside the installer.cs class(C# programming). This file is working with Mysql but not from the installer. This is giving an ERROR 42000 syntax error. Any help will be appreciated

    Arun G.K

  2. #2
    Join Date
    Nov 2004
    Location
    India
    Posts
    63

    Re: Error when running MySql Script file in Dotnet installer

    turn on the installer logging and post the verbose error message.
    Sandeep
    http://www.sandeeprawat.com
    Code:
    Forget the language. Remember the logic.

  3. #3
    Join Date
    May 2010
    Posts
    17

    Exclamation Re: Error when running MySql Script file in Dotnet installer

    Dear talksandy, thanks for your reply here is the error which we got while installing the installer


    ERROR [42000] [MySQL][ODBC 5.1 Driver][mysqld-5.1.47-community]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 'delimiter $$

    CREATE TABLE `admin` (
    `id` bigint(20) NOT NULL AUTO_INC' at line 1

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured