Hi all,
I am trying to update a batch using the "source" command to generate the "serctl" command to update the database. But each time the command execute one line of command I am being prompt the password, is there anyway I can disable the password for the root user or prefix. Please help.......thanks.
Regards, Shirley
Hello, you have to provide the password as a command line parameter to mysql client. For that you have to edit the serctl script.
See 'mysql --help' for more information about command line parameters.
.Daniel
On 2/11/2004 11:46 AM, Shirley Toh wrote:
Hi all,
I am trying to update a batch using the "source" command to generate the "serctl" command to update the database. But each time the command execute one line of command I am being prompt the password, is there anyway I can disable the password for the root user or prefix. Please help.......thanks.
Regards, Shirley
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I may be long off.. but you are'nt thinking about ser_mysql.sh
- Atle
* Shirley Toh shirleytoh@jpcomputers.com.sg [040211 11:46]:
Hi all,
I am trying to update a batch using the "source" command to generate the "serctl" command to update the database. But each time the command execute one line of command I am being prompt the password, is there anyway I can disable the password for the root user or prefix. Please help.......thanks.
Regards, Shirley
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
before calling serctl, try setting the environment variable PW. note there are security risks -- anybody able to watch your environment variables will be able to learn the password.
-jiri
-jiri
At 11:46 AM 2/11/2004, Shirley Toh wrote:
Hi all,
I am trying to update a batch using the "source" command to generate the "serctl" command to update the database. But each time the command execute one line of command I am being prompt the password, is there anyway I can disable the password for the root user or prefix. Please help.......thanks.
Regards, Shirley
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/