[nflug] Mysql connection problem
frank
frankpirrone at gmail.com
Thu Apr 10 17:20:08 EDT 2008
Deepan wrote:
> Hi All,
> I am able to connect to Mysql via command line
> using mysql client. I am also able to connect to
> mysql via php if I run those php programs via
> command line. However when I hit those php pages
> via the browser it throws the error Can't connect
> to local MySQL server through socket
> '/tmp/mysql.sock' (2). Please note that this is
> the same socket the mysql client tries to connect
> to the server.
> Regards
> Deepan
> Sudoku Solver: http://www.sudoku-solver.net/
>
>
did you create an account user@'%' in addition to user at localhost? Gotta
have that to connect over browser from a different computer, which you
do not describe but just being thorough here...
Frank
More information about the nflug
mailing list