in reply to Re: DBD MySQL connect problem.
in thread DBD MySQL connect problem.
Yes, i am connecting from the machine that the MySQL servers are located on. I do have different sockets & pidfiles for the different servers.
So i shouldnt have to set the host param in connect() - both connections are to the local machine.
I've never seen anything about setting the socket in the DBI connect statement, is this something that can be done? What effects might it have?
If i do recompile the DBD::mysql, then will it stop working for the 4.0.2 server? I have read a bit about the changes, but whether i can get both to work at the same time is another story. Perhaps i'll need both DBD::mysql's installed, and put the new one somewhere else, and use both from my script.
Hope this helps clarify things. Any other questions, This is all im working on until its done!
Thanks much!
Update:
Ok, i trield setting the socket explicitly with:
mysql_socket=<...>
And now i get a more meaningful error:
...failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client at...
So now with the socket specified, it appears that its a DBD version problem, which i should be able to take care of. (i hope)
|
|---|