Zum Inhalt springen

Empfohlene Beiträge

Geschrieben

hallo! irgendwie hab ich probleme mit dem phpmyaadmin. hab den lokal installiert und will auf mein mysql zugreifen.

<?php

/*

* Generated configuration file

* Generated by: phpMyAdmin 2.10.1-rc1 setup script by Michal ÄÅ’ihaÃ…â„¢ <michal@cihar.com>

* Version: $Id: setup.php 9697 2006-11-13 08:32:28Z nijel $

* Date: Sat, 21 Apr 2007 13:05:45 GMT

*/

/* Servers configuration */

$i = 0;

/* Server localhost (config:root) [1] */

$i++;

$cfg['Servers'][$i]['host'] = 'localhost';

$cfg['Servers'][$i]['extension'] = 'mysqli';

$cfg['Servers'][$i]['connect_type'] = 'tcp';

$cfg['Servers'][$i]['compress'] = false;

$cfg['Servers'][$i]['auth_type'] = 'config';

$cfg['Servers'][$i]['user'] = 'root';

$cfg['Servers'][$i]['password'] = 'asdfgh';

/* End of servers configuration */

?>

das is meine config... trotzdem kommt immer

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

warum geht das nicht? und warum zur hölle steht da NO???

ich hab ein passwort. wenn ich mich mit dem command line client mit mysql verbinde kommt immer die passabfrage. da tipp ich das asdfgh ein und bin drin... wieso will phpmyadmin nicht?

Geschrieben

Versuch mal

$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]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')

$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).

// The controluser is also

// used for all relational

// features (pmadb)

$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (valid choices: config, http, HTTP or cookie)

$cfg['Servers'][$i]['user'] = ''; // MySQL user

$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed

// with 'config' auth_type)

$cfg['Servers'][$i]['nopassword'] = FALSE; // Whether to try to connect without password

Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren

Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde Dich hier an.

Jetzt anmelden

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...