Hi all there, I have the following line of code which creates a database using the msqladmin command line tool.
c:\mysql\bin\mysqladmin create databasename -u root -p"password"
If the database does not already exist then there is no screen output, but if it does already exist then I get the following:
"mysqladmin: CREATE DATABASE failed; error: 'Can't create database 'databasename'; database exists'"
is there a way of doing this or is there a better way? thanx for any reply!
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --