你好,我已经尝试了很多东西,但是我似乎无法用docker文件创建数据库和用户,您能帮助我吗?我正在尝试以下几种方法:
运行sudo安装mysql -服务器-y运行systemctl启用mysqld运行mysql -v -e“创建数据库测试;
ERROR 2002 (HY000): Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL