[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] MySQL Database



On 25/3-2004, at 0.00, Richard Sidlin wrote:

$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'root';      // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
								 // with 'config' auth_type)

Hi Richard
Try setting auth_type to cookie (just for debug) and then log in with your, supposed, login/password, then you will be able to see the actual error code. Make sure your sock-file is pressent (/tmp/mysql.sock) otherwise you can symlink your way out of it:

ls  /var/lib/mysql/ | grep sock

you should get this output: mysql.sock
then continue

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

Hope this helps you on your way ...

René Mølsted