You could connect to the mysql database. You don't need any permissions to connect to a database, so this should work out fine. Though, the question remains as to how you will set up the permissions from a perl script. If you can use the mysqladmin, then you could always create the database with "mysqladmin create database foo --user=root --password=xxxxx",
- Johnathan James Taylor wrote: >CPAN is running exremely slow (as per usual) and I just have a quick >question. How do I CREATE a database from within perl with MySQL? Generally >the first command you give for DBI will be a statement to connect to a db, >but what if I have to have the db created first? > >This is for a script that will automate the installation of a set of 12 >scripts, and sets up 6 tables, and I don't want to have to tell users to >first have to run mysql, type in "create database blah", quit, and then run >the script. > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]