I have deployed Ravel, MySQL in my Mac OS environment, but it doesn't work.
brew install mysql
introduced MySQL 5.x, but it didn't work.
Do you have any good alternatives to using mySQL on your Mac?
I'd like to use it by connecting from Ravel in the local environment...
%sudo mysql-u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38)
% brew services
Name Status User Plist
[email protected] started root/Library/LaunchDaemons/[email protected]
% sudo/opt/homebrew/opt/[email protected]/bin/mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/opt/homebrew/var/mysql/MacBook-Air.local.pid).
touch/opt/homebrew/var/mysql/MacBook-Air.local.pid
% sudo/opt/homebrew/opt/[email protected]/bin/mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/opt/homebrew/var/mysql/MacBook-Air.local.pid).
sudo mysql-u root
I don't think any files have been created.
mysql.server start
Would it be okay to do so?
I think MySQL could not be used in Mac local environment.
Create a Linux virtual environment.
© 2024 OneMinuteCode. All rights reserved.