mit normalen benutzer komme ich nicht auf phpMyAdmin

TheGeckO

Grünschnabel
Hallo,

nachdem ich den ganzen Tag in sämtlichen Foren gesucht habe und die verschiedenen Lösungsvorschläge auch angewendet habe (ohne Erfolg) poste ich mein Problem das bestimmt total DAU mäßig ist. Aber bevor ich noch in die Tastatur beiß hoffe ich doch auf Hilfe. Es wurde auch in diesem Forum schon so ähnlich beschrieben, aber wie gesagt es half alles nix.

Auf meinem PC mit Win2000 + SP4 habe ich PHP und mySQL installiert.
PHP funktioniert, nur habe ich Probleme mit der Datenbank.

phpMyAdmin 2.5.3. Apache läuft. MySQL läuft auch.

Das ist der Teil aus der config.inc.php:

* 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 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'] = ''; // 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
// this db is displayed
// at left frame
// It may also be an array
// of db-names


Wenn ich 'root' als user reinschreib ohne Passwort kann ich zu phpMyAdmin connecten.
Wenn ich 'irgendwas' bei user reinschreib MIT Passwort kommt beim connecten:

#1045 - Access denied for user: 'irgendwas@localhost' (Using password: YES)

Ohne Passwort kann ich auch mit user 'irgendwas' connecten.

Ich hab als root schon zig mal den user 'irgendwas' angelegt und die Rechte vergeben. MySQL neugestartet. Ich habe auch FLUSH PRIVILEGES gemacht.

Bitte helft mir.

:( :(

TheGeckO
 
aber ich will ja nicht als root, sondern als user 'irgendwer' auf die Datenbank.
Das was du vorschlägst hab ich auch schon probiert.
Hier kommt ja
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user

nicht 'root' rein sondern 'irgendwer'.
 
also noch mal ... einen kleine anleitung ...

1. php interpreter installieren ... like apache oder omnicron
2. mysql installieren
3. phpmyadmin dateien in den htdocs ordner packen ...
4. bei mir ist der pfad ...
/**
* 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.
*
* In most cases you can leave this variable empty, as the correct value
* will be detected automatically. However, we recommend that you do
* test to see that the auto-detection code works in your system. A good
* test is to browse a table, then edit a row and save it. There will be
* an error message if phpMyAdmin cannot auto-detect the correct value.
*
* If the auto-detection code does work properly, you can set to TRUE the
* $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
*/
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpadmin/';

und jetzt müsste es gehen .... bei welchem punkt hast du jetzt probleme ?
 
Also nachdem die ganze Gechichte unter win2000 nicht geklappt hat, habe ich das ganze nochmal unter linux probiert.
Da kam die selbe Fehlermeldung, obwohl ich die config.inc.php genau nach Anleitung angepasst habe.

So und jetzt kommt der Hammer. Anstatt localhost habe ich die IP von dem Server eingesetzt und JUHU es . Ich weiß zwar nicht warum des ned hinhaut wenn localhost drinsteht aber jetzt gehts.
:)

Danke trotzdem bspainkf36
 
Zurück