Page 1 of 1

phpmyadmin install issues

Posted: Thu May 21, 2009 12:03 pm
by jlewis01
I can not login to phpmyadmin.
Well almost.
Issue 1:
I am getting an error on the login screen saying "cannot load mcrypt extension” and yes it is not commented and I have downloaded the file and put it in my windows directory. My phpinfo page says that it is enabled ( by the way I sould not even be seeing the login page because I have the auth_tpe set to config ) I just press the go and then I am taken to the home screen of phpmyadmin. For what it is worth if I use a different pc on my network to login I am taken right to the phpmyadmin homepage, but a non datatabase informed page which leads me to

Issue 2:
There is absolutly no mysq database showing up to the left. I am not even getting a drop down box to select "no database"?

I have so far spent 4 days trying to configure phpmyadmin. Other programs such as “mysql administrator” and “php mysql” I was able to configure in about 10 min each.

At this point I feel that it is my lack of ability to set up the config.ini file for phpmyadmin.
I have copied what I have so far for my config file and I am hoping that someone can assist me with that.

Code: Select all

<?php 
$i=1; 
$i++; 
$cfg['PmaAbsoluteUri'][$i]           = 'http://localhost/phpmyadmin/index.php';
$cfg['Servers'][$i]['host']          = 'localhost'; 
$cfg['Servers'][$i]['port']          = '';         
$cfg['Servers'][$i]['socket']        = '';          
$cfg['Servers'][$i]['connect_type']  = 'tcp';       
$cfg['Servers'][$i]['extension']     = 'mysqli';     
$cfg['Servers'][$i]['compress']      = FALSE;       
$cfg['Servers'][$i]['auth_type']     = 'config';    
$cfg['Servers'][$i]['user']          = 'root';      
$cfg['Servers'][$i]['password']      = 'mypassword';  
$cfg['Servers'][$i]['only_db']       = array('*'); 
?>

Re: phpmyadmin install issues

Posted: Thu May 21, 2009 1:23 pm
by Christopher
For issue 1 you need the mcrypt extension. For issue 2 try commenting out the line:

Code: Select all

#$cfg['Servers'][$i]['only_db']       = array('*');

Re: phpmyadmin install issues

Posted: Thu May 21, 2009 2:18 pm
by jlewis01
This my be a stupid question but if phpinfo says that mcrypt is enabled doesnt that mean that I have the mcrypt extension already?
also commenting out the line had no effect.
arborint wrote:For issue 1 you need the mcrypt extension. For issue 2 try commenting out the line:

Code: Select all

#$cfg['Servers'][$i]['only_db']       = array('*');