PhpMyAdmin installation Configuration

Source: Internet
Author: User

I set up an nginx and mysql platform. I just created it and it was inconvenient for mysql not to use phpmyadmin. I took the previous source code and thought it would be okay to modify the database user and password.

The phpMyAdmin page displays: Wrongpermissionsonconfigurationfile, shouldnotbeworld writable
Cause: This is none of the XAMPP issues. It is a problem with phpmyadmin directory permission settings. If you set chmod 777 for all phpmyadmin files, this prompt will appear.
Solution: you only need to modify the file attributes. phpmyadmin must run under the 755 permission,
Run sudo chmod-R 755/opt/lampp/phpmyadmin on the terminal

It turned out that phpmyadmin permissions for 777, to all the files in the group and other users write permissions all removed, http://www.bkjia.com permissions to 755 after all normal.

There is no way to restore the original phpmyadmin database to this end. After a try, it will not work. If pma users cannot access the database, check it.

4. Create a MySQL user. The name is "pma", which grants it the select, insert, update, and delete permissions on the "phpmyadmin" database.

# Mysql-u root-p
Mysql> grant select, insert, update, delete on phpmyadmin. *
-> Pma @ localhost identified by 'Password ';
Mysql> quit;
Replace password with the password you specified.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.