Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] mysql/mariadb



There is a difference between "localhost" and "socket" access. Probably if
you're running a new installation, you want to access root by the mysql.sock
file on the server.

mysql -u root -p -S /tmp/mysql.sock

That file is placed in a location that depends on your particular distro. Look
for it under /var/run, /var/mysql, or just do 'find / -name mysql.sock' if you
have no idea.

-rich





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org