Wednesday, September 6, 2023

MariaDB Socket from Path XAMPP for VSCODE on MAC OS


Run the following command in terminal:

ps -ax|grep mysql

FInd the output like this:

--socket=/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock --port=3306

Then use this path without quote in Socket path

"Applications/XAMPP/xamppfiles/var/mysql/mysql.sock"


Then click Save and connect. It will show the success message.



No comments:

Post a Comment

Reset WordPress Admin Password via MySQL Command Line

mysql -umyUserName -paVeryStrongPassword show databases;   use myWordpressDB; SELECT ID, user_login, user_pass FROM wp_users; UPDATE wp_user...