|
Posted by MS on 06/04/05 15:27
> >>
> >> 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.
>
> If the original database is MySQL, then all you need to do is copy the
> files.
The original is MySQL
>
> But from the rest, I gather this may not be practical.
>
> >> 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.
>
> I'm guessing from this that it's not necessarily a one-time script, then?
Its not a onetime script as I hope to package all the files together and
distibute.
>
> I wrote a script that does this a few months ago - I'll see if I still
have
> a copy of it.
>
> One possible problem, though - how big is the database (how many rows)?
The database is at the moment 39 tables and the table with the maximum
number of records would contain about 250 records which is 12KB.
Total database size at the moment is under 300KB
Navigation:
[Reply to this message]
|