Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd August 2011, 22:39
selmore95 selmore95 is offline
Junior Member
 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error 2002 when installing phpmyadmin

Hi,

I have attempted to install phpmyadmin, however, when I login, I get this error:

Quote:
#2002 Cannot log in to the MySQL server
I have installed MySQL from the source RPMs posted on Mysql.com. Here is my config.inc.php incase it is needed:

Quote:
<?php
/*
* Generated configuration file
* Generated by: phpMyAdmin 3.4.3.2 setup script
* Date: Tue, 23 Aug 2011 00:36:40 +0400
*/

/* Servers configuration */
$i = 0;

/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = 3306;
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';

/* End of servers configuration */

$cfg['DefaultLang'] = 'en';
$cfg['blowfish_secret'] = '';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
Reply With Quote
Sponsored Links
  #2  
Old 23rd August 2011, 10:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,723 Times in 2,563 Posts
Default

Are there any errors in your logs? What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 26th August 2011, 18:02
selmore95 selmore95 is offline
Junior Member
 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is the output:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:ssh *:* LISTEN 1548/sshd
tcp 0 0 localhost:smtp *:* LISTEN 1378/sendmail: acce
tcp 0 0 *:mysql *:* LISTEN 11943/mysqld
tcp 0 0 *:http *:* LISTEN 11501/lighttpd
tcp 0 52 kansascity.clogg.in:ssh adsl-69-219-239-93.ds:56083 ESTABLISHED 1475/sshd: root@pts
Reply With Quote
  #4  
Old 27th August 2011, 13:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,723 Times in 2,563 Posts
 
Default

Looks ok. Can you log in with the username and password on the shell that you use for phpMyAdmin?

Code:
mysql -u username -p
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian with ISPConfig, problems with php after installing phpmyadmin Shella HOWTO-Related Questions 2 6th March 2009 14:53
Problems with installation on openSUSE 10.2 douglaslopezt Installation/Configuration 3 24th August 2007 22:04
Installing a new phpmyadmin danf.1979 Installation/Configuration 1 3rd April 2006 20:08
installing PHPmyadmin guidovanh Installation/Configuration 1 24th March 2006 20:20
Installing PhpMyadmin for ISPConfig dstme General 5 19th February 2006 09:57


All times are GMT +2. The time now is 23:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.