bash script: auto-give-password
I've installed zoneminder 1.30 on centos 6 and the mysql setup needs several commands run to set up the database. I'm trying to write a bash script that automates this setup process but it always stops at this command:
Code:
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql Code:
#!/bin/bash Code:
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql <<EOF |
|
yes thanks for that michaelk, I found that
Quote:
|
All times are GMT -5. The time now is 04:18 PM. |