#1273 – Unknown collation: ‘utf8mb4_unicode_ci’ cPanel

The technique in this post worked for me 1) Click the “Export” tab for the database 2) Click the “Custom” radio button 3) Go the section titled “Format-specific options” and change the dropdown for “Database system or older MySQL server to maximize output compatibility with:” from NONE to MYSQL40. 4) Scroll to the bottom and … Read more

How to set my phpmyadmin user session to not time out so quickly? [duplicate]

To increase the phpMyAdmin Session Timeout, open config.inc.php in the root phpMyAdmin directory and add this setting (anywhere). $cfg[‘LoginCookieValidity’] = <your_new_timeout>; Where <your_new_timeout> is some number larger than 1800. Note: Always keep on mind that a short cookie lifetime is all well and good for the development server. So do not do this on your … Read more

MySQL: How to reset or change the MySQL root password?

Set / change / reset the MySQL root password on Ubuntu Linux. Enter the following lines in your terminal. Stop the MySQL Server: sudo /etc/init.d/mysql stop Start the mysqld configuration: sudo mysqld –skip-grant-tables & In some cases, you’ve to create the /var/run/mysqld first: sudo mkdir -v /var/run/mysqld && sudo chown mysql /var/run/mysqld Login to MySQL … Read more

MySQL Server has gone away when importing large sql file

As stated here: Two most common reasons (and fixes) for the MySQL server has gone away (error 2006) are: Server timed out and closed the connection. How to fix: check that wait_timeout variable in your mysqld’s my.cnf configuration file is large enough. On Debian: sudo nano /etc/mysql/my.cnf, set wait_timeout = 600 seconds (you can tweak/decrease … Read more