MySql + PhpmyAdmin

PsychoSam

Mitglied
Hallo
Ich arbeite grad die tuts vom schattenbaum durch, ziemlich gut die sachen. Allerdings hab ich ein dickes Prob mit MYSql + Phpmyadmin
nachdem ich alles in mysql eingestellt hab, hab ich es gestartet,
dann hab ich phpmyadmin angemacht. allerdings will phpmyadmin irgendein user und pw. ich hab absolut ken plan was er mennt.
ich habe user und pw von der datenbank eingegeben, hat aber nichts gebracht. dann habe ich user und pw aus der datenbank gelöscht, hat auch nichts gebracht. bin relativ verzweifelt..

bin sehr dankbar für hilfe

gruß alex
 
Hi,

warum benutzt Du als Authtype nicht einfach Config und trägst in der Config.inc.php Datei den Username und das Passwort ein? (Den Authtype stellst Du ebenfalls in der config.inc.php ein).

MfG
Kurito
 
hallo hab ich gemacht und kriege nun diesen fehler :(
Warning: Cannot add header information - headers already sent by (output started at F:\FoxServ\www\phpMyAdmin\libraries\auth\config.auth.lib.php:91) in F:\FoxServ\www\phpMyAdmin\header.inc.php on line 23

Warning: Cannot add header information - headers already sent by (output started at F:\FoxServ\www\phpMyAdmin\libraries\auth\config.auth.lib.php:91) in F:\FoxServ\www\phpMyAdmin\header.inc.php on line 24

Warning: Cannot add header information - headers already sent by (output started at F:\FoxServ\www\phpMyAdmin\libraries\auth\config.auth.lib.php:91) in F:\FoxServ\www\phpMyAdmin\header.inc.php on line 25

Warning: Cannot add header information - headers already sent by (output started at F:\FoxServ\www\phpMyAdmin\libraries\auth\config.auth.lib.php:91) in F:\FoxServ\www\phpMyAdmin\header.inc.php on line 26

Warning: Cannot add header information - headers already sent by (output started at F:\FoxServ\www\phpMyAdmin\libraries\auth\config.auth.lib.php:91) in F:\FoxServ\www\phpMyAdmin\header.inc.php on line 27

Warning: Cannot add header information - headers already sent by (output started at F:\FoxServ\www\phpMyAdmin\libraries\auth\config.auth.lib.php:91) in F:\FoxServ\www\phpMyAdmin\header.inc.php on line 29

Fehler

MySQL meldet:


Can't connect to MySQL server on 'localhost' (10061)


irgendwie seltsam
 
Hmm. Der Fehler sagt mir leider auch nichts :(
Vielleicht hilft Dir ein Auszug aus meiner config-datei.
Code:
$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 or IP address
$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]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
                                                    // (requires PHP >= 4.3.0)
$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']          = 'BENUTZERNAME';      // MySQL user
$cfg['Servers'][$i]['password']      = 'PASSWORT';    // MySQL password (only needed

Da Du ja einen lokalen Server laufen hast, wird localhost schon die richtige Angabe sein.
Aber bei Dir kommt er ja noch nichtmal bis zur Überprüfung des Benutzernamens.
Also: keine Ahnung. Leider :(
 
hallo
ich hab jetzt rausgefunden woran e shängt
aber leider noch keine lösug:

und zwar kann er net connecte weil ich den Deisnt MySql net aktivere kann (benutze XP),
immer wenn ich bei diesnte mysql versuche zu starte, kommt die Fehlermeldung
Der Dienst MySql" auf "lokaler Computer" konnte nicht gestartet werden
Fehler 1067: Der Prozess wurde unerwartet beendet.

Bitte ich bräcuhte wirklich dringend hilfe
Danke schonaml
 
Und zum Username:
Normalerweise kannst du beim ersten Start von winmysqladmin.exe den MySQL-User und das Passwort eingeben. Wenn nicht, müsste es in der my.ini stehen.
Bei einer Standartkonfiguration sollte auch der Benutzername root mit leerem Passwort gehen.

Code:
$cfg['Servers'][$i]['user']          = 'root';
$cfg['Servers'][$i]['password']      = '';
So in der conifg-Datei von phpMyAmdin dürfte also gehen.
 

Neue Beiträge

Zurück