If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > SQLConnection dbExpress with MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-04-04, 11:37
laplada laplada is offline
Registered User
 
Join Date: Jun 2004
Posts: 2
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.
Reply With Quote
  #2 (permalink)  
Old 06-06-04, 23:24
laplada laplada is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On