Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR 1064 #1

Open
zhangddjs opened this issue Jun 27, 2020 · 0 comments
Open

ERROR 1064 #1

zhangddjs opened this issue Jun 27, 2020 · 0 comments

Comments

@zhangddjs
Copy link

when I run build,sh, the output shows ERROR 1064:

Removing network mysql-cluster_overlay
WARNING: Network mysql-cluster_overlay not found.
mysql_master uses an image, skipping
mysql_slave uses an image, skipping
mysql_slave2 uses an image, skipping
Creating network "mysql-cluster_overlay" with the default driver
Creating mysql_master ... done
Creating mysql_slave  ... done
Creating mysql_slave2 ... done
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
等待 mysql_master 连接中,请稍候,每 5s 尝试连接一次,可能会重试多次,直到容器启动完毕......
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
等待 mysql_master 连接中,请稍候,每 5s 尝试连接一次,可能会重试多次,直到容器启动完毕......
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
等待 mysql_master 连接中,请稍候,每 5s 尝试连接一次,可能会重试多次,直到容器启动完毕......
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
等待 mysql_master 连接中,请稍候,每 5s 尝试连接一次,可能会重试多次,直到容器启动完毕......
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
等待 mysql_master 连接中,请稍候,每 5s 尝试连接一次,可能会重试多次,直到容器启动完毕......
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
等待 mysql_master 连接中,请稍候,每 5s 尝试连接一次,可能会重试多次,直到容器启动完毕......
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
等待 mysql_master 连接中,请稍候,每 5s 尝试连接一次,可能会重试多次,直到容器启动完毕......
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
等待 mysql_master 连接中,请稍候,每 5s 尝试连接一次,可能会重试多次,直到容器启动完毕......
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
等待 mysql_slave 连接中,请稍候,每 5s 尝试连接一次,可能会重试多次,直到容器启动完毕......
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6
 finish success !!!

the master status is Empty set:

mysql> show master status;
Empty set (0.00 sec)

how to deal with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant