You are viewing the PKP Support Forum | PKP Home Wiki

database error Lost connection to MySQL server

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

database error Lost connection to MySQL server

Postby scanfieldfuller » Thu Aug 01, 2013 11:09 am

Hello! I'm am trying to install OJS 2.4.2 on a Virtualbox guest for testing purposes (Windows 7 host). I followed the directions at http://www.turnkeylinux.org/forum/gener ... nal-system to use Turnkey Linux to set up the virtual machine using the Turnkey LAMP stack. I have successfully made it to the install page, but am having trouble running the actual install.

I get this error: "A database error has occurred: Lost connection to MySQL server at 'reading initial communication packet', system error: 111."

I am not an IT person and my experience with Linux is limited--any help you can provide will be appreciated. If this has already been addressed in another location, I apologize! (I searched, but didn't find this particular problem).
Posts: 1
Joined: Thu Aug 01, 2013 10:59 am

Re: database error Lost connection to MySQL server

Postby asmecher » Thu Aug 01, 2013 11:30 am

Hi scanfieldfuller,

This is a MySQL configuration problem; see e.g. http://stackoverflow.com/questions/4835931/lost-connection-to-mysql-server-at-reading-initial-communication-packet-syste.

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 3 guests