Web Hosting Talk







View Full Version : cant get PHP MySQL to work


sametch
08-18-2002, 02:12 AM
I have tried installing phpMyAdmin on my RaQ4 and I get the following error:

Welcome to phpMyAdmin 2.2.6


Warning: Cannot add header information - headers already sent by (output started at /home/sites/site8/web/dba/libraries/auth/config.auth.lib.php:91) in /home/sites/site8/web/dba/header.inc.php on line 23

Warning: Cannot add header information - headers already sent by (output started at /home/sites/site8/web/dba/libraries/auth/config.auth.lib.php:91) in /home/sites/site8/web/dba/header.inc.php on line 24

Warning: Cannot add header information - headers already sent by (output started at /home/sites/site8/web/dba/libraries/auth/config.auth.lib.php:91) in /home/sites/site8/web/dba/header.inc.php on line 25

Warning: Cannot add header information - headers already sent by (output started at /home/sites/site8/web/dba/libraries/auth/config.auth.lib.php:91) in /home/sites/site8/web/dba/header.inc.php on line 26

Warning: Cannot add header information - headers already sent by (output started at /home/sites/site8/web/dba/libraries/auth/config.auth.lib.php:91) in /home/sites/site8/web/dba/header.inc.php on line 27

Warning: Cannot add header information - headers already sent by (output started at /home/sites/site8/web/dba/libraries/auth/config.auth.lib.php:91) in /home/sites/site8/web/dba/header.inc.php on line 29

Error

MySQL said:


Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)


can anyone help?

sametch

robjohnston
08-20-2002, 07:09 AM
Check there are no blank spaces above the <?php in config.inc.php

Cheers, Rob.

sametch
08-20-2002, 07:16 AM
Thanks Rob, did that, it appears to be down to quoting the wrong socket. RaQ4 don't use the default. Now sorted.

sametch