PDA

View Full Version : Create mySQL automatic


powerdomein
02-01-2006, 03:22 AM
Hello,

Can anyone tell me how to create a mySQL database automaticly, when i create a user.

I have found README file in usr/local/directadmin/scripts/custom but i didnt understand it. Please can you tell me in steps how to create a database when i create a user.

database_create_post.sh
database_user_create_post.sh

jlasman
02-01-2006, 06:26 PM
I've never done it, so all I can tell you is that you're headed in the right direction. You can set something up with the post_create script.

Jeff

powerdomein
02-02-2006, 12:45 AM
Dear Jeff,

Can you also tell me how i can realize that. Creating a create_Script? Which commandlines must i put in?

Thanks,

Mustafa

jlasman
02-08-2006, 05:57 PM
I can't; I've never created such a script. Many people here have, I'm sure, but i'm not one of them :) .

Jeff