Skip to content

Commit 9ac1f17

Browse files
Update Database-Troubleshooting.md
1 parent 91f099f commit 9ac1f17

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

doc/system_components/mysql/Database-Troubleshooting.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,4 @@ The commands for recreating the database are in the ibex [install script in the
8787
8888
1. Stop mysqld processes
8989
1. Move the database `../instrument/var/mysql` to `old`
90-
1. create an empty `c:/instrument/var/mysql` directory
91-
1. Recreate the database files: `c:\Instrument\Apps\MySQL\bin\mysqld.exe --datadir="c:/instrument/var/mysql/data" --initialize-insecure --console --log-error-verbosity=3`
92-
1. Start the mysql service.
93-
1. Set the database password with: `c:\Instrument\Apps\MySQL\bin\mysql.exe -u root -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH IDENTIFIED WITH caching_sha2_password BY '<password>';FLUSH privileges;"`
94-
1. Run the schema setup in an epics terminal: `c:\instrument\Apps\EPICS\systemsetup\config_mysql.bat`
95-
1. Restart the epics server
90+
1. Run `upgrade_mysql.bat` in `<public share>\ibex_utils\installation_and_upgrade`

0 commit comments

Comments
 (0)