0

I want to write a Batch script to start MySQL on Laragon 5.0.0 without having to follow these steps:

  1. Open the Laragon App
  2. Right-Click Start All
  3. MySQL > Start MySQL

I tried

cd laragon/bin/mysql/mysql-5.7.33-winx64/bin
mysql --user=root --password=

I got this error

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

Compo
  • 36,585
  • 5
  • 27
  • 39
galalem
  • 389
  • 11
  • 1
    Let's check this https://stackoverflow.com/questions/17426052/error-2003-hy000-cant-connect-to-mysql-server-on-localhost-10061 – Clément Mar 09 '23 at 09:22

0 Answers0