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?

    17 days later

    hey
    I had this problem and found a solution

    in php.ini change this

    output_buffering = On

    its normally Off

    fixed it for me!

      to me, it seems like the mysql has not been starting yet. You might wish to try a `ps -ef | grep mysql' to see if the daemon is running. In addition, make sure the access right has been set properly.

      U have to modify the config.inc.php3, to change the followings:
      $cfgServers[1]['host'] = 'localhost'; // MySQL hostname
      $cfgServers[1]['port'] = ''; // MySQL port - leave blank for
      default port
      $cfgServers[1]['adv_auth'] = false; // Use advanced authentication?
      $cfgServers[1]['stduser'] = 'root'; // MySQL standard user (only nee
      ded with advanced auth)
      $cfgServers[1]['stdpass'] = ''; // MySQL standard password (only
      needed with advanced auth)
      $cfgServers[1]['user'] = 'root'; // MySQL user (only needed with
      basic auth)
      $cfgServers[1]['password'] = 'whatever'; // MySQL password (on
      ly needed with basic auth)

      hope it helps.
      deharsh.

        the issue is now sorted it was down to an incorrect location being specified for the socket. The RaQ had a different location to the default one used in phpmyadmin.

        all is now well

        thanks anyway

        sametch

          Write a Reply...