当我输入mysql的时候提示ERROR 2002 (HY000): Can't connect to local MySQL server through sock '/var/lib/mysql.sock' (2)输入service mysqld start提示Failed to issue method call: Unit mysqld.service failed to load: No such file or directory.
我在ubuntu18.04发行版中使用WSL,在bash中我点击了sudo -u postgres psql,得到了以下错误:Is the server running locally and accepting connections on然后,我尝试了其他postgres操作,比如:sudo -u createdb mydb,但都得到了相同