Thursday, May 16, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 115728  / 2 Years ago, sun, april 24, 2022, 12:21:04

I am new to ubuntu and installed MySQL use a rpm file,
and started it use sudo start mysql, when i try



mysqladmin -u root password test


I get



mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!


I checked the mysqld folder and there is nothing

what can i do the next? Thanks for your answers


More From » login

 Answers
7

How did you manage to install it using an rpm file??? I'm sure that you're either mistaken or definitely doing something wrong. All you needed to do is



sudo apt-get install mysql-server mysql-client


UPDATE: There seems to be MySQL 5.5 .deb file here (although the repository is for Debian) - at any rate, I think it may work better than an rpm


[#41982] Monday, April 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
piscen

Total Points: 134
Total Questions: 117
Total Answers: 133

Location: Indonesia
Member since Wed, Jul 7, 2021
3 Years ago
piscen questions
Sun, Oct 23, 22, 16:06, 2 Years ago
Wed, May 17, 23, 01:44, 1 Year ago
Thu, Nov 24, 22, 19:09, 2 Years ago
Mon, Mar 6, 23, 02:42, 1 Year ago
;