


You need to add the following files from the lib directory to the MySQL driver in DataGrip: For more information about this limitation, see Connecting Using Unix Domain Sockets at .ĭownload the latest release from the junixsocket repository at (for example, junixsocket-dist-2.3.).Įxtract the downloaded archive. To enable socket connection, you need to download third-party libraries. The Connector/J driver does not natively support connections to MySQL Servers with Unix domain sockets. Type a password for your root user and press Enter. In the command line, run the following command: mysql -u root -p -S /var/run/mysqld/mysql.sock.

Check the Unix socket connection from the command line Mysql -u root -p -h 127.0.0.1 -e "select a password for your root user and press Enter.
