<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks Tim. When I try to connect to the mysql server using the <font face="monospace,monospace">mysql -u wikiadmin -pwikipassword</font> I get the following error message. I checked and the socket file really doesn't exist (the directory /run/mysqld/ is empty).<br><br>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)<br><br>I ran <span style="font-family:monospace,monospace"><span class="gmail-kw2">sudo</span> <span class="gmail-kw2">find</span> <span class="gmail-sy0">/</span> <span class="gmail-re5">-type</span> s</span>
to see if I can find the socket file elsewhere; the result is at
<a href="http://pastebin.com/5LU21Zt5">http://pastebin.com/5LU21Zt5</a> and doesn't include any mysql socket files!
Yet the instance is running a wiki on mysql. I am confused, and still
need help connecting to the DB.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 27, 2016 at 2:46 PM, Tim Landscheidt <span dir="ltr"><<a href="mailto:tim@tim-landscheidt.de" target="_blank">tim@tim-landscheidt.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Huji Lee <<a href="mailto:huji.huji@gmail.com">huji.huji@gmail.com</a>> wrote:<br>
<br>
> By the way, what is the default username and password that MW vagrant uses<br>
> for mysql?<br>
<br>
> […]<br>
<br>
It should be "wikiadmin"/"wikipassword"<br>
(cf. <a href="https://phabricator.wikimedia.org/diffusion/MWVA/browse/master/puppet/hieradata/common.yaml;56e841424332255b1101e88cf6fbfd80382216a8$258-259" rel="noreferrer" target="_blank">https://phabricator.wikimedia.<wbr>org/diffusion/MWVA/browse/<wbr>master/puppet/hieradata/<wbr>common.yaml;<wbr>56e841424332255b1101e88cf6fbfd<wbr>80382216a8$258-259</a>).<br>
<br>
Tim<br>
<br>
<br>
______________________________<wbr>_________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" rel="noreferrer" target="_blank">https://lists.wikimedia.org/<wbr>mailman/listinfo/labs-l</a><br>
</blockquote></div><br></div>