Solved

phpmyadmin login problem

Posted on 2010-11-19
3
735 Views
Last Modified: 2012-08-14
Dear Experts:

Installed phpmyadmin in rhel5 did manual config bycopying the config.sample.inc.php to config.inc.php edited and the same is attached for your reference

after this when open firefox explorer with localhost/phpmyadmin iam getting like the below
phpMyAdmin
Welcome to phpMyAdmin
Language
Log in
Username:
Password:
Cookies must be enabled past this point.
Cannot load mcrypt extension. Please check your PHP configuration.
---------------------------------------------------------------------------------------
Please help in
1.how  should i be able to login in the above
2. how to fix the mcrypt extension

Please help thanks in advance.
configincphp.txt
0
Comment
Question by:D_wathi
3 Comments
 

Accepted Solution

by:
Fintel earned 250 total points
ID: 34171782
You can disable the mcrypt warning in the config.inc.php file.

mcrypt is not required to use phpmyadmin.

You have to change the $cfg['McryptDisableWarning'] variable in your config file.
0
 

Author Comment

by:D_wathi
ID: 34171798
Hi , i did a change in the auth_type like below changed cookie to config and
$cfg['Servers'][$i]['auth_type'] = 'config';

after this restart the httpd now opened the firewox with http:// locahost\phpmyadmin
still iam able to see  Cannot load mcrypt extension. Please check your PHP configuration. on the web page but able to login as root and the password.

Sir, if i try with the ipaddress of the system iam not getting webpage getting the error posted below
error
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

---------------------------------
please help me in the following:
1. how to make the phpmyadmin accessible with the ip address
2. Cookies must be enabled past this point.
3.Cannot load mcrypt extension. Please check your PHP configuration.
please help.






0
 
LVL 13

Assisted Solution

by:dsmile
dsmile earned 250 total points
ID: 34172237
1. It's not phpMyAdmin problem, it's mysql's

You need to grant permission for 'root' user to access MySQL DB from specific IP

Use this command in mysql console.

GRANT ALL ON *.* TO 'root'@'your host IP';

2. It's phpMyAdmin's error that the only fix is install another version (as far as I know).
If you use auth_type 'config' or 'http' then it won't be a problem anymore.

3. Read this

http://www.linuxforums.org/forum/red-hat-fedora-linux/44539-installing-mcrypt-what-do-work-php.html
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now