Re: Creating Mysql DB with PHP



"MS" <nospamplaesegr8t_ukuk@xxxxxxxxxxx> wrote in message
news:d7qlqa$95s$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>
>> 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.

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?

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)?


.



Relevant Pages

  • problem transfering MySQL base on web server
    ... Can someone please help me since I am doing this for the first time. ... Database is developed on my local computer and now I am trying to ... diferent host " and "Import from SQL dump" cannot do it, ...
    (comp.databases)
  • Re: Survey : Max size allowable for slurping files
    ... > halt if you slurp too big a file, there is no guarantee that the extra ... somebody mentioned slurping web pages because very ...
    (perl.beginners)
  • Re: Creating Mysql DB with PHP
    ... >>> 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 ... > The original is MySQL ...
    (alt.php)
  • Re: Creating Mysql DB with PHP
    ... >> database on the server the file is run. ... >> create the mysql database accordingly. ... > Are you copying an existing database (since you mention a SQL dump)? ...
    (alt.php)
  • Re: Non-descriptive error message
    ... possibly that the copying disclosed a corruption that was previously ... and make a backup copy of the database so you get multiple ... Open the report in design view, set its HasModule propety to No. Save. ... If it doesn't you have struck a reasonably rare corruption where the 2 ...
    (microsoft.public.access.reports)