Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Can we run Linux commands on Cloud SQL

I wanted to Run some Linux commands on my Google Cloud SQL (MySQL) is it possible ? 

commands :   

"cat /proc/meminfo"

"ulimit -a"

 

We wanted to investigate about the memory usage.

Solved Solved
0 1 370
1 ACCEPTED SOLUTION

Hi @Robinwilliam15

Welcome to Google Cloud Community!

No, you cannot run Linux commands directly on Cloud SQL instances. Cloud SQL is a fully managed service, which means that you cannot access the underlying operating system of the server.

I would highly suggest to contact Google Cloud Support whenever you want to investigate about memory usage.

Thanks

View solution in original post

1 REPLY 1

Hi @Robinwilliam15

Welcome to Google Cloud Community!

No, you cannot run Linux commands directly on Cloud SQL instances. Cloud SQL is a fully managed service, which means that you cannot access the underlying operating system of the server.

I would highly suggest to contact Google Cloud Support whenever you want to investigate about memory usage.

Thanks