Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2004
    Posts
    2

    Unanswered: SQLConnection dbExpress with MySQL

    Hi,

    I have a hard time finding why I cannot connect to MySQL using the TSQLConnection component. I do it with the BDE TDatabase component and it works, so all the username, password, hostname and port are valide.

    Here is what I am using:
    DriverName=MySQL
    HostName=192.168.0.5:3344
    Database=mydb
    User_Name=myusr
    Password=mypwd

    It always gives me a Username password invalid. This message is used for almost any connection error. Should I put the port somewhere else?

    Please help! Thanks.

  2. #2
    Join Date
    Jun 2004
    Posts
    2

    problem fixed

    dbExpress does not allowed changing the port, so I had to change my SQL Server to use the default port which is 3306.

    Thanks anyway.

Posting Permissions

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