Description
Describe the bug
mysql -u -root
won't work
Steps to reproduce
- Create a new repo on Github
- Run Gitpod
- Choose to setup project
- Choose 'Default+MySQL' workspace
- Close workspace
- Start a new workspace
- At terminal, type in
mysql -u root
Expected behavior
MySQL command line to show up
Additional information
2020-04-15T15:15:59.847625Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.19-0ubuntu4) initializing of server in progress as process 770
2020-04-15T15:16:02.696460Z 5 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2020-04-15T15:16:04.315075Z 5 [System] [MY-013172] [Server] Received SHUTDOWN from user boot. Shutting down mysqld (Version: 8.0.19-0ubuntu4).
2020-04-15T15:16:07.914237Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.19-0ubuntu4) starting as process 823
2020-04-15T15:16:08.417015Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2020-04-15T15:16:08.419859Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
2020-04-15T15:16:08.438983Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.19-0ubuntu4' socket: '/tmp/tmp.ZIXXiJG3rt/mysqld.sock' port: 0 (Ubuntu).
2020-04-15T15:16:09.996504Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.19-0ubuntu4) (Ubuntu).
2020-04-15T15:16:11.113455Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.19-0ubuntu4) starting as process 889
2020-04-15T15:16:11.505743Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2020-04-15T15:16:11.508814Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
2020-04-15T15:16:11.532407Z 6 [System] [MY-013172] [Server] Received SHUTDOWN from user boot. Shutting down mysqld (Version: 8.0.19-0ubuntu4).
2020-04-15T15:16:12.666035Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.19-0ubuntu4) (Ubuntu).
2020-04-15T17:23:41.618212Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2020-04-15T17:23:41.621401Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.19-0ubuntu4) initializing of server in progress as process 310
2020-04-15T17:23:47.866970Z 0 [Warning] [MY-010161] [Server] You need to use --log-bin to make --expire_logs_days work.
2020-04-15T17:23:48.379572Z 0 [ERROR] [MY-000067] [Server] unknown variable 'query_cache_limit=1M'.
2020-04-15T17:23:48.379801Z 0 [ERROR] [MY-013455] [Server] The newly created data directory /workspace/mysql/ by --initialize is unusable. You can remove it.
2020-04-15T17:23:48.380125Z 0 [ERROR] [MY-010119] [Server] Aborting
2020-04-15T17:23:49.510715Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.19-0ubuntu4) (Ubuntu).
2020-04-15T17:23:50.136874Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2020-04-15T17:23:50.142022Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.19-0ubuntu4) starting as process 355
mysqld: Table 'mysql.plugin' doesn't exist
2020-04-15T17:23:50.915481Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2020-04-15T17:23:51.038016Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2020-04-15T17:23:51.079236Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2020-04-15T17:23:51.088182Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2020-04-15T17:23:51.094547Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2020-04-15T17:23:51.094984Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2020-04-15T17:23:51.095200Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2020-04-15T17:23:51.095711Z 0 [ERROR] [MY-000067] [Server] unknown variable 'query_cache_limit=1M'.
2020-04-15T17:23:51.096167Z 0 [ERROR] [MY-010119] [Server] Aborting
2020-04-15T17:23:52.382345Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.19-0ubuntu4) (Ubuntu).
2020-04-15T17:24:02.885376Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2020-04-15T17:24:02.890743Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.19-0ubuntu4) starting as process 1462
mysqld: Table 'mysql.plugin' doesn't exist
2020-04-15T17:24:04.288274Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2020-04-15T17:24:04.502258Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2020-04-15T17:24:04.571220Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2020-04-15T17:24:04.587256Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2020-04-15T17:24:04.611645Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2020-04-15T17:24:04.612810Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2020-04-15T17:24:04.613159Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2020-04-15T17:24:04.614476Z 0 [ERROR] [MY-000067] [Server] unknown variable 'query_cache_limit=1M'.
2020-04-15T17:24:04.615259Z 0 [ERROR] [MY-010119] [Server] Aborting
2020-04-15T17:24:05.824464Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.19-0ubuntu4) (Ubuntu).
2020-04-15T17:24:07.255943Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
2020-04-15T17:24:07.261040Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.19-0ubuntu4) starting as process 1815
mysqld: Table 'mysql.plugin' doesn't exist
2020-04-15T17:24:08.200129Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2020-04-15T17:24:08.309110Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2020-04-15T17:24:08.395018Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2020-04-15T17:24:08.407560Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2020-04-15T17:24:08.419400Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2020-04-15T17:24:08.419898Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2020-04-15T17:24:08.420107Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.