Jump to content

This script seems to not work. Any input?


Xelatyper

Recommended Posts

I have this script and when I create a server it gets stuck at 90% of creating the server so I guess it must be this script but I cannot work out whats wrong.

 

"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe" -u root -p******

create database %UserName%%ServiceId%Chernarus;

create database %UserName%%ServiceId%Lingor;

create user '%UserName%%ServiceId%'@'localhost' identified by '%UserName%%ServiceId%';

grant all privileges on %UserName%%ServiceId%Chernarus.* to '%UserName%%ServiceId%'@'localhost';

grant all privileges on %UserName%%ServiceId%Lingor.* to '%UserName%%ServiceId%'@'localhost';

exit

 

This should work from what I know It before server is created.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 168 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use