This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

Mariadb connection from Linux Subsystem Error

In a Ubuntu Subsystem:

<mysql --version> / Answer: mysql Ver 15.1 Distrib 10.3.39-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

Running mariadb -u user_name -p -h ip_address db_name command

produces

ERROR 2002 (HY000): Can't connect to MySQL server on 'host' (115).

Host is not local. Made sure bind address in conf is 0.0.0.0

Anything I need to do? Let me know if you need more info.

Answer Answered by Ian Gilfillan in this comment.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.