While still in command prompt, navigate to:
C:\apps\dcm4chee-2.17.3-mysql\sql
type the following commands:
mysql -uroot -p
it will ask for your password. Put the password you used when installing MySQL.
Then mysql> will appear. Follow below:
mysql> create database pacsdb;
mysql> grant all on pacsdb.* to ‘pacs’@'localhost’ identified by ‘pacs’;
mysql> \q
> mysql -upacs -ppacs pacsdb < create.mysql