MySQL Forums
Forum List  »  Install & Repo

Can't able to initiate/use mysql configuration on Ubuntu 19.04 properly.
Posted by: Pranav bhattarai
Date: July 31, 2019 01:52AM

After installing mysql using "sudo apt install mysql-server", I can't seem to use configure for the use:

pranav@pranav-Inspiron-5548:~$ sudo apt update
[sudo] password for pranav:
Hit:1 http://ubuntu.ntc.net.np/ubuntu disco InRelease
Hit:2 http://ubuntu.ntc.net.np/ubuntu disco-updates InRelease
Hit:3 http://ubuntu.ntc.net.np/ubuntu disco-backports InRelease
Get:4 http://ubuntu.ntc.net.np/ubuntu disco-security InRelease [97.5 kB]
Hit:12 http://repo.mysql.com/apt/ubuntu disco InRelease
Fetched 97.5 kB in 11s (9,133 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.

pranav@pranav-Inspiron-5548:~$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version (8.0.17-1ubuntu19.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

pranav@pranav-Inspiron-5548:~$ sudo mysql_secure_installation
Securing the MySQL server deployment.

Enter password for user root:
Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
pranav@pranav-Inspiron-5548:~$

What type of password it is asking for?

Options: ReplyQuote


Subject
Written By
Posted
Can't able to initiate/use mysql configuration on Ubuntu 19.04 properly.
July 31, 2019 01:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.