xuancong6000
Verified User
- Joined
- Oct 12, 2012
- Messages
- 79
My server have an error like this:
I do this but I can't:
I can't do on step 2:
and step 4:
could you please help me
Code:
$cfg['Servers'][$i]['pmadb'] ... not OK [ Documentation ]
$cfg['Servers'][$i]['relation'] ... not OK [ Documentation ]
General relation features: Disabled
$cfg['Servers'][$i]['table_info'] ... not OK [ Documentation ]
Display Features: Disabled
$cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ]
$cfg['Servers'][$i]['pdf_pages'] ... not OK [ Documentation ]
Creation of PDFs: Disabled
$cfg['Servers'][$i]['column_info'] ... not OK [ Documentation ]
Displaying Column Comments: Disabled
Browser transformation: Disabled
$cfg['Servers'][$i]['bookmarktable'] ... not OK [ Documentation ]
Bookmarked SQL query: Disabled
$cfg['Servers'][$i]['history'] ... not OK [ Documentation ]
SQL history: Disabled
$cfg['Servers'][$i]['designer_coords'] ... not OK [ Documentation ]
Designer: Disabled
$cfg['Servers'][$i]['recent'] ... not OK [ Documentation ]
Persistent recently used tables: Disabled
$cfg['Servers'][$i]['table_uiprefs'] ... not OK [ Documentation ]
Persistent tables' UI preferences: Disabled
$cfg['Servers'][$i]['tracking'] ... not OK [ Documentation ]
Tracking: Disabled
$cfg['Servers'][$i]['userconfig'] ... not OK [ Documentation ]
User preferences: Disabled
Code:
1. Login to your server over ssh
2. Change dir to PMAs script dir:
# cd /var/www/html/phpMyAdmin-3.5.4-all-languages/scripts
2. Connect to your database using mysql and enter your mysql root pass
# mysql -u root -p
3. Create the user and database and grant privileges:
mysql> create database phpmyadmin;
mysql> create user 'pma'@'localhost' identified by 'YOUR_PASSWORD';
mysql> grant all privileges on phpmyadmin.* to 'pma'@'localhost';
4. Import the SQL file:
mysql> use phpmyadmin;
mysql> \. create_tables.sql;
mysql> exit
5. Open config.inc.php in your favorite editor (i use MCs built in editor or nano):
# nano ../config.inc.php
6. Search for the comment /* User used to manipulate with storage */ and uncomment the two lines after it. Put on the second line the password you have set for your pma user
7. Go to the next section /* Storage database and tables */ and uncomment the next 11 lines
8. Login to your PMA... if you are already logged in then logout and then log back in.
Code:
[root@server ~]# cd /var/www/html/phpMyAdmin-3.5.4-all-languages/scripts
-bash: cd: /var/www/html/phpMyAdmin-3.5.4-all-languages/scripts: No such file or directory
Code:
mysql> use phpmyadmin;
Database changed
mysql> \. create_tables.sql;
ERROR:
Failed to open file 'create_tables.sql;', error: 2
Last edited: