[Techtalk] at wit's end with PHP to MySQL
James
james at james-web.net
Wed Jan 30 21:38:28 EST 2002
Are you sure MySQL is running? Could you post your PHP script that you
are using to try to connect to MySQL?
- James
> -----Original Message-----
> From: techtalk-admin at linuxchix.org
> [mailto:techtalk-admin at linuxchix.org] On Behalf Of Linda
> Sent: Wednesday, January 30, 2002 8:25 PM
> To: techtalk at linuxchix.org
> Subject: [Techtalk] at wit's end with PHP to MySQL
>
>
> I am new to Linux. Have RH7.0 running on a Thinkpad600.
>
> To help me develop PHP scripts, I installed Apache and MySQL
> using the RPMs that came with RedHat. I built the PHP RPM from
> source files.
>
> Apache and PHP works together, but when I try to use PHP to
> connect to MySQL, I get the error message "Can't connect to local
> MySQL server on socket /tmp/mysql.sock"
>
> According to phpinfo( ), I have a built of PHP that has MySQL.
>
> I have no clue what is wrong. I have tried all the solutions I have
> been able to find on the web.
>
> Linda
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/> techtalk
>
More information about the Techtalk
mailing list