I lost my .my.cnf. Please create one for me.
Description
Event Timeline
I mean, did you create an account on tool labs and create a tool? If so, which one? Only tools get replica.my.cnf (and not .my.cnf)...
krenair@tools-bastion-01:~$ ls -al ~ryuch/.my.cnf -rw------- 1 ryuch wikidev 50 Jul 28 2014 /home/ryuch/.my.cnf krenair@tools-bastion-01:~$ groups ryuch ryuch : wikidev project-bastion project-tools tools.ryu krenair@tools-bastion-01:~$ ls -al ~tools.ryu/.my.cnf -rw-r----- 1 tools.ryu tools.ryu 50 Jul 28 2014 /data/project/ryu/.my.cnf
it's strange it works when I type just "mysql". Even I can create a database. But when I try to install my own MW, it fails because of the authentication.
It sounds like the credentials work perfectly, but you haven't set MW up right. And I'm not sure you should be trying to use it in tools anyway...
If you are trying to setup a mediawiki instance, I'll say tool labs is the wrong place for that a variety of reasons unless you are a seasoned Mediawiki admin. I'd suggest getting the language engineering team to add you to their labs project and using https://wikitech.wikimedia.org/wiki/Help:MediaWiki-Vagrant_in_Labs
I have,
tools.ryu@tools-bastion-02:~$ mysql --defaults-file="${HOME}"/.my.cnf
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
It works?
And that won't be the last problem you run into. I repeat my suggestion of getting added to the language engineering team's labs project and using Mediawiki-Vagrant in Labs.