Results 1 to 5 of 5

Thread: MySQL and DSN driver issues

  1. #1
    Join Date
    Mar 2010
    Posts
    197

    MySQL and DSN driver issues

    Hello,
    I have a problem with my new installed MySql database, the DSN drivers are not working with the MySql database. I am trying to install and configure them but both of them really not working , do not know why they are some what incompatible with each other. So, if you have any idea regarding it, then please let me know. Thanks in advance.

  2. #2
    Join Date
    Nov 2009
    Posts
    583

    Re: MySQL and DSN driver issues

    Hello,
    I think you can even use the ODBC drivers with MySql to do the same thing. First you must download and install the MySQL ODBC driver. Then, create a DSN in the ODBC manager sources:
    Code:
    panel Panel / Administrative Tools / ODBC Sources
    tab system, the DSN is created in the registry and all the Logins, tab User DSN created for the user is currently in session tab file. The DSN is created in a file. I recommend the first of three solutions, they should help you.

  3. #3
    Join Date
    Nov 2009
    Posts
    518

    Re: MySQL and DSN driver issues

    Hello,
    If you are using MyODBC 3.51, then this should be the configuration
    Code:
    ConnStr = "DRIVER = (MySQL ODBC 3.51 Driver); \ 
    SER = localhost; \ 
    DATABASE = test; \ 
    USER = come; \ 
    PASSWORD = come; \ 
    OPTION = 3; "
    If your programming language converts the backslash followed by space in space, it is preferable to specify the connection string in the form of a long string, or use the concatenation several channels, without adding a space between:
    ConnStr = "DRIVER = (MySQL ODBC 3.51 Driver);" 
    "SER = localhost;" 
    "DATABASE = test;" 
    "USER = come;" 
    "PASSWORD = come;" 
    "OPTION = 3;"

  4. #4
    Join Date
    Mar 2010
    Posts
    191

    Re: MySQL and DSN driver issues

    Hello,
    I have a MySQL database created from the migration of an Access database. For some reason, I had to keep all the same Access database so that I have an Access database containing tables related to those of the MySQL database (so far, no problem). Everything went well until an exception on an SQL telling me "ODBC - call failed to. What is the reason for this now, I have no idea and the computer hangs completely, if you know how to solve this problem then please let me know. Thanks in advance.

  5. #5
    Join Date
    Nov 2009
    Posts
    343

    Re: MySQL and DSN driver issues

    Hello,
    For MyODBC 2.50:
    Here is the configuration you will have to do
    Code:
    ConnectionString = "DRIVER = (MySQL); \ 
    SER = localhost; \ 
    DATABASE = test; \ 
    USER = come; \ 
    PASSWORD = come; \ 
    OPTION = 3; "
    Hope this will solve your problem.

Similar Threads

  1. Replies: 4
    Last Post: 13-01-2011, 01:08 AM
  2. Issues with Opensuse 11.2 ati-driver
    By Jesus-Ernesto in forum Monitor & Video Cards
    Replies: 5
    Last Post: 01-06-2010, 10:42 AM
  3. Fix for 10.2 driver issues
    By Daniela007 in forum Monitor & Video Cards
    Replies: 5
    Last Post: 20-04-2010, 10:56 PM
  4. Issues in C# application connecting to Remote MySQL 5 database.
    By kyosang in forum Software Development
    Replies: 5
    Last Post: 25-01-2010, 04:24 PM
  5. Replies: 3
    Last Post: 07-11-2009, 09:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,727,345,337.73475 seconds with 17 queries