Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There could be multiple reasons for the failure of running mysql+aiomysql on cloud run in Google when using Unix_socket. Here are some possible reasons:

  1. Unix_socket is not enabled or configured properly in the Cloud Run environment.
  2. The Unix_socket file is not accessible or not found in the designated location.
  3. The user running the application does not have permission to access the Unix_socket file.
  4. The database server is not configured to allow connections via Unix_socket.
  5. There might be network issues or firewall rules preventing the Unix_socket-based connection from establishing.

To troubleshoot the issue, you can check the logs and error messages for more information or try connecting to the database using a different method, such as TCP/IP, to rule out any issues with the database itself. You can also contact the Google Cloud support team for further assistance.