You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,8 @@ The port that the MySQL database is listening on
58
58
The port that MySQLX is listening on
59
59
-`dbName: string`
60
60
The database that was created on database initialization
61
+
-`username: string`
62
+
The name of the user to use to login to the database
61
63
-`stop: () => Promise<void>`
62
64
The method to stop the database. The returned promise resolves when the database has successfully stopped.
63
65
@@ -122,6 +124,14 @@ Default: 1,000
122
124
123
125
Description: If `downloadBinaryOnce` is set to `true`, `lockRetryWait` is the number of milliseconds to wait before checking if the lock has been released.
124
126
127
+
-`username: string`
128
+
129
+
Required: No
130
+
131
+
Default: root
132
+
133
+
Description: The username of the user that is used to login to the database.
134
+
125
135
## If using Ubuntu 24.04 and newer
126
136
127
137
Selecting what MySQL version to use is not currently supported on Ubuntu 24.04 and newer. To use this package on Ubuntu 24.04 and newer you must have the `mysql-server` package installed on your system and `ServerOptions.version` must either be the version that is installed on the system or undefined.
0 commit comments