Solved

phpmyadmin login problem

Posted on 2010-11-19
3
739 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
awk file 6 52
Curl & PHP Command Help 4 23
MySQL Memory Keeps Increasing 4 35
How is this connection happening? 3 13
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 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