Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

phpmyadmin login problem

Posted on 2010-11-19
3
Medium Priority
?
765 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 1000 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 1000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses

963 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