OK. I think not being able to connect from datagrip and sqlalchemy is related.
MariaDB is running on WSL2 and I am able to connect to it from the terminal. I created admin user with root privilege.
MariaDB [(none)]> select user, host from information_schema.processlist;
+-------+-----------+
| user | host |
+-------+-----------+
| admin | localhost |
+-------+-----------+
1 row in set (0.000 sec)
I'd love to provide you with more detail. Here is my my.cnf:
[client-server]
# Port or socket location where to connect
# port = 3307
socket = /run/mysqld/mysqld.sock
# Import all .cnf files from configuration directory
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mariadb.conf.d/
I tried both what you described in this blog post and not binding the address. Both not working.
Would you mind share your my.cnf with me?
OK. I think not being able to connect from datagrip and sqlalchemy is related.
MariaDB is running on WSL2 and I am able to connect to it from the terminal. I created
admin
user with root privilege.I'd love to provide you with more detail. Here is my
my.cnf
:I tried both what you described in this blog post and not binding the address. Both not working.
Would you mind share your
my.cnf
with me?Here is my complete setup:
Clean uninstall:
Then
Start the service:
Config by following this
edit
/etc/mysql/my.cnf
(optional)Then restart mariaDB:
sudo service mysql restart