The append function of the phpMyAdmin link table has not been activated.

Source: Internet
Author: User

I still did not manually configure the config file when installing phpMyAdmin, but used its setup function.
The default value is used except for the server name and authentication method.
The server name is entered at will, and the authentication method is changed to http.
In addition, on the PMA database page, click the pen next to the text box and fill in the default value.
(At this time, I have created a control user and entered the user name and password. I will talk about the creation method later)
After saving the settings, enter the root user name and password of MySQL and open the main screen of phpMyAdmin. the following error occurs:

Click here to see the following figure.


Note the following to solve this problem.
1. Delete and copy the config file
This may not be the key to the problem, but I read the official documents after the problem occurs and then handled it.
After saving the settings on the setup screen, copy./config. inc. php to the./root directory and delete the./config directory.
2. Create databases and tables required for additional functions
There is a create_tables. SQL file in the./scripts folder. Import it to MySQL and create the corresponding table.
Although the additional functions still have problems, you can use phpMyAdmin to manage MySQL. Therefore, the create_tables. SQL file is displayed in the following figure.

3. Create a control user
I have created this before the problem occurs.
I used the MySQL command line tool to execute the SQL command.
Copy codeThe Code is as follows:
Grant usage on mysql. * TO 'pma' @ 'localhost' identified by 'pmapass ';
Grant select (
Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
File_priv, Grant_priv, References_priv, Index_priv, Alter_priv,
Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv,
Execute_priv, Repl_slave_priv, Repl_client_priv
) ON mysql. user TO 'pm' @ 'localhost ';
Grant select on mysql. db TO 'pm' @ 'localhost ';
Grant select on mysql. host TO 'pm' @ 'localhost ';
Grant select (Host, Db, User, Table_name, Table_priv, Column_priv)
ON mysql. tables_priv TO 'pma' @ 'localhost ';
Grant select, INSERT, UPDATE, delete on <pma_db>. * TO 'pma' @ 'localhost ';

4. Modify the config. inc. php file.
Because tracking is not set on the setup screen, the other items in the second figure become green after the above processing, but the last project is still red.
So I append the object to the config. inc. php file.
$ Cfg ['servers'] [$ I] ['tracking'] = 'pma _ tracking ';
Such a line.
5. The configuration. inc. php file does not work.
After completing the settings from 1 to 3, when accessing the main screen, the settings of the second image are not immediately green.
To verify whether the modification to the config. inc. php file is effective, I changed one of the most important settings 'host' in the file and added a few.
Then, an error occurred while accessing phpMyAdmin. Then remove those a and access them again, except for the last tracking, the others are green.
Probably because of browser or apache cache problems. I haven't figured it out yet.

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.