http://www.perlmonks.org?node_id=472636


in reply to Connecting to mysql using DBI and a non-standard socket

Call me Mr State-the-Obvious, but in your first example which you say works, you're connecting as root, and in the next one which doesn't work, you're connecting as another user.

Have we at least checked it the other way around?



($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
  • Comment on Re: Connecting to mysql using DBI and a non-standard socket