File tree 4 files changed +7
-11
lines changed
4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ function addToPath(newPath) {
22
22
23
23
// config
24
24
const mysqlVersion = '8.0' ;
25
- const rootPass = 'password ' ;
25
+ const rootPass = 'root ' ;
26
26
const database = 'public' ;
27
27
28
28
// install
Original file line number Diff line number Diff line change @@ -41,15 +41,11 @@ jobs:
41
41
database : postgres
42
42
port : 5432
43
43
- name : mysql for ubuntu
44
- uses :
mirromutth/[email protected]
45
44
if : matrix.os == 'ubuntu-latest'
46
- with :
47
- character set server : ' utf8'
48
- collation server : ' utf8_general_ci'
49
- mysql version : ' 8.3'
50
- mysql database : ' public'
51
- mysql root password : ' password'
52
- mysql user : ' developer'
45
+ run : |
46
+ # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#mysql
47
+ sudo systemctl start mysql.service
48
+ mysql -uroot -proot -e "create database public"
53
49
- name : Install deps
54
50
run : |
55
51
make install-deps
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
11
11
mysql :
12
12
image : mysql:8.0
13
13
environment :
14
- MYSQL_ROOT_PASSWORD : " password "
14
+ MYSQL_ROOT_PASSWORD : " root "
15
15
MYSQL_DATABASE : public
16
16
ports :
17
17
- " 3306:3306"
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ pub fn main() !void {
188
188
.database = "public" ,
189
189
.host = "127.0.0.1" ,
190
190
.user = "root" ,
191
- .password = "password " ,
191
+ .password = "root " ,
192
192
});
193
193
defer db .deinit ();
194
194
You can’t perform that action at this time.
0 commit comments