Mysql DB Connection with django framework

chittimanoharPRO

9 months ago

The following is the log after I created a mysql service.

'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'

2024-08-10T16:10:08.416108Z 0 [System] [MY-015015] [Server] MySQL Server - start.

2024-08-10T16:10:08.540602Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.1) starting as process 7

2024-08-10T16:10:08.547577Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.

2024-08-10T16:10:08.863371Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

2024-08-10T16:10:09.104753Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.

2024-08-10T16:10:09.104808Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.

2024-08-10T16:10:09.119279Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.

2024-08-10T16:10:09.160418Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock

2024-08-10T16:10:09.160558Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '9.0.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.

Awaiting User Response

1 Replies

9 months ago

there appears to be a configuration error in your app and its connection to the db. I can see the tables from the DB's Data tab in the dashboard.

Also, I would try and remove your custom start command for debugging purposes. you can always re-add it later


Status changed to Awaiting User Response railway[bot] 9 months ago