Andreas: php admin

Beitrag lesen

Hallo,

diese steht auf der Index.php Seite wenn ich sie im Browser aufrufe:
Willkommen bei phpMyAdmin 2.3.0-rc1
..dann kommt die Fehlermeldung:
Fehler
MySQL meldet:
Can't connect to MySQL server on 'localhost' (10061)

jetzt der Anfabg der config.inc.php :

<?php
/* $Id: config.inc.php,v 1.110 2002/06/19 13:11:38 rabus Exp $ */

/**
 * phpMyAdmin Configuration File
 *
 * All directives are explained in Documentation.html
 */

/**
 * Sets the php error reporting - Please do not change this line!
 */
$old_error_rep = error_reporting(E_ALL);

/**
 * Your phpMyAdmin url
 *
 * Complete the variable below with the full url ie
 *    http://www.your_web.net/path_to_your_phpMyAdmin_directory/
 *
 * It must contain characters that are valid for a URL, and the path is
 * case sensitive on some Web servers, for example Unix-based servers.
 */
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';

/**
 * Server(s) configuration
 */
$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname
$cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket']        = '';          // 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']     = 'config';    // 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)
$cfg['Servers'][$i]['only_db']       = '';          // If set to a db-name, only

MfG. Andreas

Hallo Andreas,

welche Version von phpmyadmin hast Du laufen (config unterscheidet sich)? Wie sieht der Anfang der Datei zur Zeit aus (der restliche Teil interessiert für den Zugriff auf die Datenbank nicht)?

Soweit ich da überblicke ist das nunmal _das_ Standardtool zum administrieren von mysql. Wir sollten also lieber es zum Laufen bekommen statt nach Alternativen zu suchen.

Grüße aus Würzburg
Julian