Current time: 06-30-2024, 06:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
Cannot log in to the MySQL server
Author Message
LuV Offline
Newbie
*

Posts: 6
Joined: May 2009
Reputation: 0
Post: #1
Cannot log in to the MySQL server
Hallo,
ich habe folgendes Problem.
Nach der Installation läuft bei mir alles, außer phpmyadmin, zumindest kann man sich dort nicht einloggen.
Ich habe eine Datenbank angelegt und einen Datenbankbenutzer hinzugefügt.
domain.tld/pma/index.php
und domain.tld/tools/pma/index.php
Wenn ich mich nun einlogge, erscheint:
"Die Anmeldung am MySQL-Server ist fehlgeschlagen."

Habt Ihr eine Lösung? =(

MfG Viet Long
05-24-2009 09:17 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Cannot log in to the MySQL server
Schau mal in die config im pma Verzeichnis.
05-25-2009 12:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
LuV Offline
Newbie
*

Posts: 6
Joined: May 2009
Reputation: 0
Post: #3
RE: Cannot log in to the MySQL server
Dort steht geschrieben:
Code:
<?php
/* $Id: config.sample.inc.php 9673 2006-11-03 09:05:54Z nijel $ */
/**
* ispCP ω (OMEGA) a Virtual Hosting Control System
*
* @copyright     2006-2008 by ispCP | http://isp-control.net
* @link         http://isp-control.net
* @author         ispCP Team
*/

/**
* phpMyAdmin Configuration File
*
* All directives are explained in Documentation.html
* look http://your-server.com/ispcp/tools/pma/Documentation.html#authentication_modes
*/


/* Servers configuration */
$i = 0;

/* Server 1 (cookie) [1] */
$i++;

/* Authentication type */
$cfg['Servers'][$i]['auth_type']         = 'cookie';
/* Parameters set by ispCP */
$cfg['Servers'][$i]['user']                = $_POST['pma_username'];
$cfg['Servers'][$i]['password']            = $_POST['pma_password'];
/* Server parameters */
$cfg['Servers'][$i]['host']             = 'localhost';
$cfg['Servers'][$i]['port']             = '3306';
$cfg['Servers'][$i]['connect_type']     = 'tcp';
$cfg['Servers'][$i]['socket']             = '/var/run/mysqld/mysqld.sock';
$cfg['Servers'][$i]['compress']         = true;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension']         = 'mysql';
/* rajk - for blobstreaming */
$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
/* User for advanced features */
$cfg['Servers'][$i]['controluser']         = '<----geheim';
$cfg['Servers'][$i]['controlpass']         = '<----geheim';
/* Advanced phpMyAdmin features */
//$cfg['Servers'][$i]['pmadb']             = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable']     = 'pma_bookmark';
$cfg['Servers'][$i]['relation']         = 'pma_relation';
$cfg['Servers'][$i]['table_info']         = 'pma_table_info';
$cfg['Servers'][$i]['table_coords']     = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages']         = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info']         = 'pma_column_info';
$cfg['Servers'][$i]['history']             = 'pma_history';
$cfg['Servers'][$i]['designer_coords']    = 'pma_designer_coords';
$cfg['Servers'][$i]['hide_db']             = '(information_schema|phpmyadmin|mysql)';
/* Name of the Server displayed */
/*$cfg['Servers'][$i]['verbose']         = 'mysql.myserver.com';*/ // reactivate if domain is set in SETUP
$cfg['Servers'][$i]['SignonSession']    = 'ispCP';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

/*
* End of servers configuration
*/

/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
/* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
$cfg['blowfish_secret']             = 'K`#geheim <---';

/* Layout preferences */
$cfg['LeftFrameLight']                     = true;
$cfg['LeftFrameDBTree']                 = true;
$cfg['LeftFrameDBSeparator']             = '_';
$cfg['LeftFrameTableSeparator']         = '__';
$cfg['LeftFrameTableLevel']             = 1;
$cfg['LeftDisplayLogo']                 = true;
$cfg['LeftDisplayServers']                 = false;
$cfg['LeftPointerEnable']                 = true;
$cfg['QueryHistoryDB']                     = true;
$cfg['QueryHistoryMax']                 = 25;
$cfg['BrowseMIME']                         = true;
$cfg['PDFDefaultPageSize']                 = 'A4';
$cfg['ShowPhpInfo']                     = false;
$cfg['ShowChgPassword']                 = false;
$cfg['AllowArbitraryServer']             = false;
$cfg['LoginCookieRecall']                 = 'something';
$cfg['LoginCookieValidity']             = 1800;
/* Directories for saving/loading files from server */
$cfg['UploadDir']                         = '/var/www/ispcp/gui/phptmp';
$cfg['SaveDir']                         = '/var/www/ispcp/gui/phptmp';

$cfg['AllowAnywhereRecoding']             = true;
$cfg['DefaultCharset']                     = 'utf-8';
$cfg['ForceSSL']                         = false;

$cfg['RecodingEngine']                     = 'iconv';
$cfg['IconvExtraParams']                 = '//TRANSLIT';
$cfg['GD2Available']                     = 'yes';
$cfg['BrowseMIME']                         = true;
/* Changes the default Theme */
$cfg['ThemeDefault']                     = 'omega';
?>

$cfg['Servers'][$i]['verbose'] <--- vielleicht? =(
Ich weiß es nicht...

Ich freue mich auf eine Rückmeldung.

MfG LuV
05-25-2009 02:10 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Cannot log in to the MySQL server
Kannst du denn mit den Benutzerdaten (erstes Posting) auf der Kommandozeile bei mysql anmelden?

mysql -u username -p

was passiert da?

Kannst du in pma mit root (mysql root) einloggen?

/Joxi

PS: das verbose sollte nichts damit zu tun haben.
05-25-2009 07:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
LuV Offline
Newbie
*

Posts: 6
Joined: May 2009
Reputation: 0
Post: #5
RE: Cannot log in to the MySQL server
(05-25-2009 07:09 AM)joximu Wrote:  Kannst du denn mit den Benutzerdaten (erstes Posting) auf der Kommandozeile bei mysql anmelden?

mysql -u username -p

was passiert da?

Kannst du in pma mit root (mysql root) einloggen?

/Joxi

PS: das verbose sollte nichts damit zu tun haben.


Ja, der Rootlogin via pma funktioniert, nur mit den von ispCP erstellten Accounts kann ich mich seltsamerweise nicht einloggen.

Rootlogin (via SSH):
Code:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1292
Server version: 5.0.51a-24+lenny1 (Debian)
Einwandfrei

MfG LuV
05-25-2009 07:35 AM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #6
RE: Cannot log in to the MySQL server
was kommt denn für ne meldung wenn du dich mit dem von ispcp erstellten user über die shell an mysql anmeldest?
05-25-2009 02:18 PM
Find all posts by this user Quote this message in a reply
LuV Offline
Newbie
*

Posts: 6
Joined: May 2009
Reputation: 0
Post: #7
RE: Cannot log in to the MySQL server
(05-25-2009 02:18 PM)MasterTH Wrote:  was kommt denn für ne meldung wenn du dich mit dem von ispcp erstellten user über die shell an mysql anmeldest?

Steht doch im Ersten Beitrag Wink

MfG LuV
05-25-2009 04:38 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: Cannot log in to the MySQL server
Dh. sowohl via pma wie auch via shell bekommst du dieselbe Fehlermeldung wenn du dich mit dem mit dem erstellten Benutzer anmeldest?

Schau doch mal (mit mysql root) nach, welche mysql Benutzer es gibt.
Datenbank mysql, Tabelle users

Entweder die Benutzer sind drin - lauten aber anders (oder anderes PW - das kannst du nicht nachsehen) oder die Benutzer sind nicht drin....

/J
05-25-2009 04:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
LuV Offline
Newbie
*

Posts: 6
Joined: May 2009
Reputation: 0
Post: #9
RE: Cannot log in to the MySQL server
EDIT!

Ich habe den Fehler entdeckt, es liegt an phpmyadmin denke ich.
Man kann keinen Benutzer mit gleichem Namen von der DB erstellen.
Meine DB hieß free10sql1 und der Benutzer free10, dadruch ging das nicht, mit einem anderen Nutzernamen funktioniert es, trotzdem danke für die Hilfe, gleich gibts eine Bewertung.

MfG LuV
(This post was last modified: 05-25-2009 04:53 PM by LuV.)
05-25-2009 04:49 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: Cannot log in to the MySQL server
Danke für die Bewertung. Aber...
... die Erklärung ist irgendwie seltsam.

Man kann in ispcp DBs und DB-Benutzer anlegen, die gleich heissen. Mach ich oft.
Und wenn's tatsächlich ein solches Problem gibt, dann liegt es nicht an phpMyAdmin...

:-)

Gruss
J
05-25-2009 05:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)