Supportnet Computer
Planet of Tech

Supportnet / Forum / Webseiten/HTML

phpmyadmin einrichten





Frage

hallo! ich hab mir mal wieder nen lokalen server installiert und verzweifle (mal wieder) an der (einfachen?) installation des phpmyadmin. also, ich will, dass wenn ich auf localhost/phpmyadmin sich ein eine username/passwort-abfrage auftut. so. wo muss ich nun in der config.inc.php vom phpmyadmin - das passwort - und den benutzernamen eintragen, den ich über winmysqladmin in der my.ini festgelegt habe? - das passwort - und den benutzernamen die beim aufrufen des ordners phpmyadmin abgefragt wreden sollen eintragen? schönen dank für die antworten!

Antwort 1 von f*euervogel

*kicktotop*

das muss doch einer wissen?

Antwort 2 von Lutz1965

Hallo f*euervogel

Meinst Du das hier:
www.issociate.de/faq_show_37.php

Gruss

Lutz

Antwort 3 von f*euervogel

ja, genau das meine ich, nur das klappt nicht!

ich habe jetzt folgendes in der config.inc.php vom phpmyadmin stehen:

$cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin';

$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']   = 'myininame';          // MySQL control user settings
                                                    // (this user must have read-only
$cfg['Servers'][$i]['controlpass']   = 'myinipass';          // access to the "mysql/user"
                                                    // and "mysql/db" tables).
                                                    // The controluser is also
                                                    // used for all relational
                                                    // features (pmadb)
$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'phpmyadminname';      // MySQL user
$cfg['Servers'][$i]['password']      = 'phpmyadminpass';          // MySQL password (only needed
                                                    // with 'config' auth_type)


myininame und myinipass sind die daten die in der my.ini stehen.

phpmyadminname und -pass sind die daten, die ich gerne bei betreten der ordners abgefragt werden würde. wnen ich alledings den ordner betrete kommt nur ne fehlermeldung:

Server localhost

Error

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

[Documentation]

Antwort 4 von f*euervogel

und wenn ich sowas:

<?php
error_reporting( E_ALL );

$name = "myininame";
$pass = "myinipass";
$server = "localhost";



$connec = mysql_connect( $server , $name , $pass );

var_dump( $connec );

?>

machen will, bekomme ich auch nen fehler:

Warning: mysql_connect(): Access denied for user: 'myininame@localhost' (Using password: YES) in C:\localhost\wwwroot\mysql.php on line 10

Antwort 5 von f*euervogel

habs jetzt hinbekommen, allerdings wüsste ich immer noch gerne, wie man einstellen kann, dass phpmyadmin-name und -pass ungleich mysql-name und pass sind...

Ich möchte kostenlos eine Frage an die Mitglieder stellen:


Ähnliche Themen:


Suche in allen vorhandenen Beiträgen: