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/.

Maria db installed on Termux -ERROR

Maria db installed on Termux and it worked well for first time . Ones termux app is closed and then tried to do mysql

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/data/data/com.termux/files/usr/tmp/mysqld.sock' (2)

This dirty message is coming

i searched the whole google for an answer (all tried not working) please help me

what should i do ?

Answer Answered by Ian Gilfillan in this comment.

It sounds like when the app is closed MariaDB is shut down. See Troubleshooting Connection Issues.

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.