0

Specifically, is checkForServerUpgrade() available in google cloud's sql for mySQL? When I log into the cloud shell, connect to the db, and run the command, I get this.

enter image description here

I'm trying to update a db from MySQL 5.7 to 8.0, and I'm following the Google documentation for an in place update.

1 Answer 1

1

You are trying to execute checkForServerUpgrade from mysql's command line client, which does not support much beyond sql statements.

checkForServerUpgrade is only available in mysql shell utilities. Mysql shell utilities are only available in javascript and python modes, not in sql mode in mysql shell. Mysql shell can be started with mysqlsh command, not with mysql.

GCP's guidance to upgrade mysql correctly refers to mysql shell and its documentation, so you probably just mixed mysql cli up with mysql shell.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.