在终端上,我可以看到已经使用brew安装了MySQL:mysql Ver 14.14 Distrib 5.7.17, for osx10.11 (x86_64) using当我尝试从Mac终端跳入mysql提示符时,我得到以下信息:Password:
ERROR 2002 (HY000): Can't connect to localMySQL server through socket '&
我已经创建了一个存储过程,它从一个表创建一个CSV文件。CREATE DEFINER = `root`@`localhost` PROCEDURE `DO_BACKUP` ( IN `table_name` TEXT )BEGIN
SET @sql = CONCAT( 'SELECT * FROM ', table_name, ' INTO OUTFILE \'/home/aimad/GestionStock/',
如果我执行brew服务启动mysql,它会显示successful,但如果我键入mysql -v,则会收到以下错误消息。ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
如果我键入mysql.server/usr/local/Cellar/mysql/8.