Posted by MS on 06/04/05 01:32
"Tony" <someone@somewhere.not> wrote in message
news:11a1fsljpfiao0a@corp.supernews.com...
> "MS" <nospamplaesegr8t_ukuk@yahoo.co.uk> wrote in message
> news:d7pmlp$5p2$1@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
> >I am looking to create an install.php file which will create a mysql
> > database on the server the file is run.
> >
> > I have the SQL dump of the database structure and various prefilled
> > records,
> > but I want to automate the set up of the database name, password,
website
> > name etc...
> >
> > the install file would gather this setup information from the user/admin
> > and
> > create the mysql database accordingly.
> >
> > can anybody point me to instructions to do this?
> > any pitfalls I should be aware of?
> > any other relevant information?
> >
> > Thnx
> > Alex
>
> Are you copying an existing database (since you mention a SQL dump)?
I am Copying an existing database, which the sql dump is created from.
> And have you looked into importing the dump into PHPMyAdmin?
I want to package the creation of the database into an install.php So that
the relevant fields can be input
DB name
Server Name
Password etc...
so that there is no need to use phpmyadmin.
I am trying to avoid phpmyadmin and keep the creation of the database as
simple as possible for the user.
Alex.
[Back to original message]
|