Change mysql root password in linux! [duplicate]

0

Good afternoon, guys!

I'm new to the development world and I'm new to linux. I installed mysql client and server and then installed mysql-workbanch via xubuntu's program center. At no time has he asked me to set the password and I can not connect because I do not know the root password. I tried standard passwords and tried not to "by" empty password, it accused access denied. I searched for tutorials on the internet, I'll put one here example where I followed the steps, " link , and my terminal displays the following error at the time of the following command "# mysqld --skip-grant-tables &":

ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I do not know how to do it, I've tried several tutorials but I can not access it. Can you please help me?

    
asked by anonymous 04.10.2018 / 23:04

0 answers