Google Certified Professional Data Engineer

Sign Up Free or Log In to participate!

-bash: mysql: command not found

mysql -u root -p –host 127.0.0.1 fails by "-bash: mysql: command not found"

1 Answers

Hi Mike

Did the mysql client install successfully? I think Compute Engine VMs are defaulting to Debian 10 now, and the video was recorded at Debian 9, however there is a note in the video at 04:51 with the updated command:

sudo apt-get install default-mysql-client

Hope this helps!

Muhammad Farooq

Yes, issue resolved.

Muhammad Farooq

Thanks

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?