Recently I have been working with Mysql and PhpMyAdmin a lot on Ubuntu, and I have stumbled across a very annoying error, or set of errors. I keep on getting a bunch of random loosely related error messages. These are the errors I get. When I try to log in it sometimes gives me an error
#2003 Cannot log in to the MySQL server
and sometimes it logs me in. Then once I've got in it will randomly take me back to the login page. Sometimes when I have successfully logged in, I manage to get to select a database, and then it gives me
Error
SQL query:
SELECT `comment`
FROM `phpmyadmin`.`pma_column_info`
WHERE db_name = 'datamodels'
AND table_name = ''
AND column_name = '(db_comment)'
MySQL said:
#2006 - MySQL server has gone away
where the list of tables should be and then where the structure of the database should be it says
Error
SQL query:
SELECT `comment`
FROM `phpmyadmin`.`pma_column_info`
WHERE db_name = 'datamodels'
AND table_name = ''
AND column_name = '(db_comment)'
MySQL said:
#2013 - Lost connection to MySQL server during query
What I'm stumped on is the fact that it is so random and unpredictable. Sometimes it gives me the errors, and sometimes it doesn't