Skip to content

Commit 668a5d2

Browse files
update message
1 parent 9ec97e0 commit 668a5d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cli.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ async function main() {
3939
}
4040
console.log('Creating ephemeral MySQL database...')
4141
const db = await createDB(options);
42-
const installedString = db.mysql.versionIsInstalledOnSystem ? 'This MySQL database is using the system-installed version of MySQL.' : 'This MySQl database is using a version of MySQL that is not already installed on this system and was downloaded from the MySQL CDN.'
43-
console.log(`A MySQL database has been successfully created with the following parameters:\n\nMySQL Version: ${db.mysql.version} \n${installedString} \nUsername: ${db.username} \nDatabase Name: ${db.dbName} \nPort: ${db.port} \nX Plugin Port: ${db.xPort} \nSocket: ${db.socket} \nX Plugin Socket: ${db.xSocket}\n`)
42+
console.log(`A MySQL database has been successfully created with the following parameters:\n\nMySQL Version: ${db.mysql.version} (${db.mysql.versionIsInstalledOnSystem ? 'installed on this system' : 'not already on this system - downloaded from the MySQL CDN'}) \nUsername: ${db.username} \nDatabase Name: ${db.dbName} \nPort: ${db.port} \nX Plugin Port: ${db.xPort} \nSocket: ${db.socket} \nX Plugin Socket: ${db.xSocket}\n`)
4443
if (process.platform === 'win32') {
4544
//The connection information logs will be different for Windows compared to other platforms.
4645
//Windows uses mysqlsh instead of mysql to invoke the client shell, needs a --sql flag to be put into SQL mode, and also does not have a protocol flag.

0 commit comments

Comments
 (0)