cd C:\Program Files (x86)\MySQL\MySQL Installer for Windows MySQLInstallerConsole.exe community install server;8.0.18:*:port=3309;ServiceName=MySQLSer;passwd=123 -silent
Beginning configuration step: Initializing database (may take a long time) Deleting the data directory from a previous (failed) configuration... Attempting to run MySQL Server with --initialize-insecure option... Starting process for MySQL Server 8.0.18... Starting process with command: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" --console --initialize-insecure=on --lower-case-table-names=1... 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release. root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. Process for mysqld, with ID 3420, was run successfully and exited with code 0. Successfully started process for MySQL Server 8.0.18. MySQL Server 8.0.18 intialized the database successfully. Ended configuration step: Initializing database (may take a long time) Beginning configuration step: Starting the server Attempting to start service MySQL80... Successfully started service MySQL80. Waiting until a connection to MySQL Server 8.0.18 can be established (with a maximum of 10 attempts)... Retry 1: Attempting to connect to Mysql@localhost:3309 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Waiting 5 seconds before the next connection attempt... Retry 2: Attempting to connect to Mysql@localhost:3306 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Waiting 5 seconds before the next connection attempt... Retry 3: Attempting to connect to Mysql@localhost:3309 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Waiting 5 seconds before the next connection attempt... Retry 4: Attempting to connect to Mysql@localhost:3306 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Waiting 5 seconds before the next connection attempt... Retry 5: Attempting to connect to Mysql@localhost:3309 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Waiting 5 seconds before the next connection attempt... Retry 6: Attempting to connect to Mysql@localhost:3306 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Waiting 5 seconds before the next connection attempt... Retry 7: Attempting to connect to Mysql@localhost:3309 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Waiting 5 seconds before the next connection attempt... Retry 8: Attempting to connect to Mysql@localhost:3306 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Waiting 5 seconds before the next connection attempt... Retry 9: Attempting to connect to Mysql@localhost:3309 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Waiting 5 seconds before the next connection attempt... Retry 10: Attempting to connect to Mysql@localhost:3306 with user root with no password... MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Failed to connect to MySQL Server 8.0.18 after 10 attempts. Ended configuration step: Starting the server
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)