Skip to content

Commit 3261c9d

Browse files
feat: add common problem
1 parent 6b729ee commit 3261c9d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/content/docs/linux/mysql-setup-on-antix.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,13 @@ This guide will walk you through setting up MySql on Antix linux runinit system.
8080
```
8181
8282
</Steps>
83+
84+
## Common Problem
85+
86+
when running `$: mysql -u root -p` if you get
87+
`ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)`
88+
89+
```sh
90+
sudo mkdir -p /var/run/mysqld
91+
sudo chown mysql:mysql /var/run/mysqld
92+
```

0 commit comments

Comments
 (0)