Details
Description
I have been trying to install mariadb 5.4.20 since I can remember, it actually makes me feel if anyone has installed it yet on centos from build.
Anyway, I followed these steps,
https://gist.github.com/samayo/305ef8a08a4a4ec9f9c7
and here the error that keeps appearing.
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I can't find mysql.sock file anywhere in my virtualbox.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Hi,
What is MariaDB 5.4.20?
In the paste you apparently skipped some steps, but it's impossible to say how many and which, so proper diagnostics is impossible.
You don't create mysql user, but I don't see any mention of complaints about it missing. Do you already have it?
Right after make install you run mysql_install_db from the current datadir. There will be no mysql_install_db in the current datadir, so apparently something else happened between the two commands. What was it?
You don't install the service, but somehow it exists at the moment you run it.Where did you get it?
Which user are you running all the commands from, root?
Where do you see the message about the missing socket?
Is the mysqld process running?