phpMyAdmin error: Table doesn't exist in engine

后端 未结 3 1677
無奈伤痛
無奈伤痛 2020-12-11 22:54

I installed XAMPP today on Ubuntu 14.04. I tried to create a new database in phpMyAdmin but received the error

#1932 - Table \'phpmyadmin.pma__tracki

3条回答
  •  旧时难觅i
    2020-12-11 23:31

    Since none of the solutions worked for me I did the following:

    1. Open Nautilus (Linux's file explorer) with root privileges: sudo nautlius.
    2. Navigate to the mysql directory: /opt/lampp/var/mysql.
    3. Delete the phpmyadmin folder. This is the phpmyadmin database in phpMyAdmin
    4. Copy the content of the create_tables.sql (found at /opt/lampp/phpmyadmin/sql) file to another one on the desktop called sql.sql
    5. Open the MySQL command line interface: /opt/lampp/bin/mysql -uroot -p
    6. Then in the mysql promp I ran the script to create the database phpmyadmin with source /home/user/Desktop/sql.sql

    That solved the problem for me.

提交回复
热议问题