连接不上mysql ,启动mysqld进程,发现可以启动成功,但几秒后进程立马关闭了,后来发现主要原因是因为磁盘空间满了. 报错: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'解决办法:service mysqld status 查看mysql是否启动(没装mysql service 也可通过 /etc/rc.d/init.d/mysqld status查看)若没启动,则启动my…
Mac sequel Pro链接时报错Can’t connect to MySQL server on ‘xx.xx.xx.xx’ (61). PS. win版Navicat 报错Can’t connect to MySQL server on ‘xx.xx.xx.xx’ (10038) 其中xx.xx.xx.xx是ip地址. 1.查看该用户是否有远程登录的权限 mysql> SELECT * FROM mysql.user; +-----------+-----------+ | Use…
VS2013, MySQL5.7.18 , MySQL5.7.14 执行SQL语句: ztp_user z = new ztp_user(); object[] obj = new object[] { z }; MySqlParameter[] p = new MySqlParameter[]{ new MySqlParameter("@username","admin1") }; var result = db.Database.SqlQuery<ztp_…