GICT knowledge base
How to fix Token Mismatch Error in phpMyAdmin
Published
In this tutorial we can check how to fix token mismatch error in phpMyAdmin
phpMyAdmin is a free and open source tool and one of the most popular applications for MySQL databases management. It is written in PHP. It can handle the administration of MySQL or MariaDB with the use of a web browser. With phpMyAdmin user can perform different tasks such as creating, modifying or deleting databases, tables, fields or rows; executing SQL statements; or managing users and permissions etc.
Follow the below steps to access phpMyAdmin.
1) Login to your cPanel.
2) Under the Databases section, click on phpMyAdmin icon.
3) Select the database you want to work on.
Features of phpMyAdmin
1) MySQL and MariaDB database management.
2) Web interface.
3) Administering multiple servers.
4) Support for most MySQL features.
5) Import data from CSV and SQL.
6) Working with different operating systems.
7) Live charts to monitor MySQL server activity
Token mismatch error in phpMyAdmin
This error can be due to many problems.
1) Disk quota of the account is exceeded
Check whether the disk quota of the account is exceeded using the following command:
# df -h
Example:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 75G 23G 49G 100% /tmp
The error can be occurred because of /tmp partition is full on the server.
Solution
Remove the unwanted files and make the disk space available or allocate extra disk space to /tmp directory.
2) Incorrect permissions
Check permissions of server /tmp directory.
Check permissions of users /tmp directory.
Set the directory permission as 755 by using the following command:
# chmod 755 /home/username/tmp
3) Check “session.save_path” in php.ini file.
Open php.ini file.
# vi php.ini
Find the below line:
;session.save_path = “/tmp”
Remove the first semicolon from this line and set as:
session.save_path = “/tmp”
Restart apache service.
# service httpd restart
If you need any further assistance please contact our support department.
Related guides
Unable to Access PhpMyAdmin in cPanel
In this tutorial, let's check how to access PhpMyAdmin in cPanel.PhpMyAdmin is a free web application that provides GUI for working with the MySQL
phpMyAdminHow to Optimize MySQL Database Using phpMyAdmin in Plesk?
How to Optimize MySQL Database Using phpMyAdmin in Plesk?In this tutorial, we are going to discuss about how to optimize a database table from phpMyAdmin
phpMyAdminHow to Increase the Upload Size of MySQL Database in PhpMyAdmin on a cPanel Server?
How to Increase the Upload Size of MySQL Database in PhpMyAdmin on a cPanel Server? The cPanel server imposes a limit for the database which can be uploaded
phpMyAdminHow to Optimize MySQL Database Using phpMyAdmin in cPanel?
In this tutorial, we are going to discuss about how to optimize a MySQL database table from phpMyAdmin in cPanel. Table optimization can be used if you have


