To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit e25f3569 authored by Xuqian Yan's avatar Xuqian Yan
Browse files

Minor changes in MySQL installation and time zone issue

parent 71bb8b1a
......@@ -10,6 +10,10 @@
- Make sure you database user account has [full permission to the database](#grant-full-privileges-to-a-user-in-mysql-workbench)
##### Database server timezone issue
There are two ways to solve this issue: (1) using command line, but this only takes effect for the duration of the current service uptime, i.e., when the MySQL services restarts, you need to type in these commands again; (2) editing the MySQL configuration file, but the configuration file is platform-dependent, e.g., MacOS doesn't even have a default configuration file.
Here we introduce the 1st approach using command line. For the 2nd approace of editing the MySQL configuration file, see [here](https://phoenixnap.com/kb/change-mysql-time-zone).
- Open command prompt and login to mysql using the command:
`mysql -u root -p`
- Enter your MySQl password for the root user, this should start mysql and you should see the prompt `mysql>`
......
......@@ -43,7 +43,7 @@ DATABASE_PASSWORD
```
- View the database
- Install MySQL from [here](https://dev.mysql.com/downloads/mysql/) (Version 8.0 is recommended) and MySQL Workbench from [here](https://dev.mysql.com/downloads/workbench/)
- Install [MySQL](https://dev.mysql.com/downloads/mysql/) (Version 8.0 is recommended) and [MySQL Workbench](https://dev.mysql.com/downloads/workbench/). For Windows, follwing [this instruction](https://www.youtube.com/watch?v=OM4aZJW_Ojs). For MacOS, follow [this instruction](https://www.youtube.com/watch?v=zbK8cNS_cg0).
- Connect to ETH VPN
- Connect to the database with MySQL Workbench
- Add a new MySQL connection
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment