Code: Select all
Willkommen bei phpMyAdmin 2.3.0
Fehler
MySQL meldet:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Meine config.inc.php sieht folgendermaßen aus:
Code: Select all
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock'; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables)
$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)
Code: Select all
$cfg['PmaAbsoluteUri'] = 'http://meine.homepage.de/phpMyAdmin/';
Ich kann mich auf dem Server zu MySQL connecten (auch mit Webmin), nur phpMyAdmin bereitet mir Schwierigkeiten.
Ich hoffe einer von euch weiß die Lösung
Vielen Dank im Voraus.