Skip to content

Instantly share code, notes, and snippets.

@joakin
Created June 11, 2015 14:44
Show Gist options
  • Save joakin/36b774bd53fa4862216b to your computer and use it in GitHub Desktop.
Save joakin/36b774bd53fa4862216b to your computer and use it in GitHub Desktop.
Vagrant - mysql not running but ...

It's not connecting to mysql but i've ssh'd in and run mysql and the server is running and I can execute queries just fine... :(

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Cannot access the database: Can't connect to local MySQL server through socket '/dev/null' (111) ())
Backtrace:
#0 /vagrant/mediawiki/includes/db/LoadBalancer.php(841): DatabaseBase->reportConnectionError()
#1 /vagrant/mediawiki/includes/db/LoadBalancer.php(542): LoadBalancer->reportConnectionError()
#2 /vagrant/mediawiki/includes/GlobalFunctions.php(3604): LoadBalancer->getConnection()
#3 /vagrant/mediawiki/includes/page/WikiPage.php(369): wfGetDB()
#4 /vagrant/mediawiki/includes/page/WikiPage.php(449): WikiPage->loadPageData()
#5 /vagrant/mediawiki/includes/page/WikiPage.php(491): WikiPage->exists()
#6 /vagrant/mediawiki/includes/page/WikiPage.php(215): WikiPage->getContentModel()
#7 /vagrant/mediawiki/includes/page/WikiPage.php(201): WikiPage->getContentHandler()
#8 /vagrant/mediawiki/includes/actions/Action.php(96): WikiPage->getActionOverrides()
#9 /vagrant/mediawiki/includes/actions/Action.php(151): Action::factory()
#10 /vagrant/mediawiki/includes/MediaWiki.php(147): Action::getActionName()
#11 /vagrant/mediawiki/includes/MediaWiki.php(550): MediaWiki->getAction()
#12 /vagrant/mediawiki/includes/MediaWiki.php(431): MediaWiki->main()
#13 /vagrant/mediawiki/index.php(41): MediaWiki->run()
#14 /var/www/w/index.php(5): include()
#15 {main}
You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date.
devwiki WWW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment