I'm using redhat 7 and i've installed php4 and mysql.
The package of php and mysql ( in RPM ) i installed are :
- php-4
- mod_php-4
- php-mysql
- mysql-3.2.3
- mysql_server-3.2.3
- mysql_devel-3.2.3

I ran mysqld and then i typed mysql from the bash prompt and it works,
i got the prompt " mysql > ". The next step is i made database, tables
and bla bla bla.....
I also made a sample php page which i put the sintax phpinfo() inside,
it also works too.
But the problem is when i put the sintax mysql_connect() with it's
all parameters... it doesn't work. I got an error message
"... can't connect to mysql server via unix socket /var/lib/mysql/mysql.sock 
(111)..."
I look for the file and the file allready exist.

can somebody tell me what's wrong..????

thanks.. landung

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to