Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5962

non-root command line operations can't connect to mariadb

$
0
0

I'm using mariadb 15.1 on Ubuntu 22.04

I'm running a bunch of webapplications that require a mysql server. Each of the hosted apps is having on issue interacting with mariadb.

However, if I try to import, export or inspect a database using the commandline, I get this:

"ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"

/tmp/mysql.sock doesn't exist on this system.


Viewing all articles
Browse latest Browse all 5962

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>