Despite reading a couple of other similar posts & solutions, I'm still having problems connecting from my pc to the remote MySQL database.
The following is a repeesentation of my connection string (VBA - a similar one works fine for my local db on localhost):
strConn = "DRIVER={MySQL ODBC 5.1 Driver};" & _
"Server=whatgoeshereforaremoteDB?;" & _
"Option=16384;" & _
"Port=3306;" & _
"Stmt=;" & _
"Database=dbname;" & _
"Uid=username;" & _
"Pwd=password;Option=3"
I think I'm having problems with the Server section. I've tried:
- webhosting.uk.com's IP address
- my site's ipaddress (which may not be static...)
- the web address of my site (minus the www dot)
- the web address of my site
I frequently get the error 'Access denied for user 'username'@'(my IP address)' (using password:yes)'
The username & password are those that the php uses to connect to the MySQL database during normal
web site use.
Can anyone shed any light?
Thanks for listening.
Cornerpilot