Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    2

    Unanswered: MySQL Script in PHP

    Ok...

    I am a newbie to PHP & MySQL, I am actually a guy that has switched from ASP/ASP.Net & MSSQL to PHP & MySQL

    I am wondering how I would execute a huge query from a file... What I am trying to do is make a duplicate database, so that I can see how vBulletin does the upgrade...

    My DB is about 20 mb, and the sql file is too large for PHPMyAdmin to handle...

    How would I execute a MySQL script in PHP if the script and stuff was in a completely different file?



    Thanks, James

  2. #2
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: MySQL Script in PHP

    Originally posted by genmud
    Ok...

    I am a newbie to PHP & MySQL, I am actually a guy that has switched from ASP/ASP.Net & MSSQL to PHP & MySQL

    I am wondering how I would execute a huge query from a file... What I am trying to do is make a duplicate database, so that I can see how vBulletin does the upgrade...

    My DB is about 20 mb, and the sql file is too large for PHPMyAdmin to handle...

    How would I execute a MySQL script in PHP if the script and stuff was in a completely different file?



    Thanks, James
    Why you don't executing sql file from mysql command utility?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •