Last modified: 2014-11-14 09:12:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75413, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73413 - mysql port forwarding
mysql port forwarding
Status: NEW
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Low normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-14 06:19 UTC by physikerwelt
Modified: 2014-11-14 09:12 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description physikerwelt 2014-11-14 06:19:48 UTC
After enabeling the port fowarding for mysql/mariadb according to the template in support/Vagrant-extrafile a connection to the database server is not possible from the remote host
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
This is especially uncomfortable because phpmyadmin is disabled for vagrant.
Comment 1 physikerwelt 2014-11-14 09:12:51 UTC
I found a workaround:
1. uncomment the binding to 127.0.0.1 in /etc/mysql/my.cnf
2. execute the mysql command GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links