Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
Here is my SQL Update query
update members set ID_GROUP="12" where ID_group="0"
so i want to put this in a file called update-group.sql
but not sure on the formate of the sql file.
i would like the sql file to contain the login info for the database aswell
can anyone help?
you can't put the login information in the sql file.
it is provided in the command line:
mysql -uusername -ppassword databasename <update-group.sql