logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.


Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: Importing Data into MYSQL Database from php page
Author
msg_gol



Joined: 12 Jun 2007
Posts: 8
Location: here -th

PostPosted: Fri 15 Jun '07 12:33    Post subject: Importing Data into MYSQL Database from php page Reply with quote

How may I Import .sql file witch is already uploaded on server Into MYSQL Database from a php page at installation point of cms
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7104
Location: Germany, Next to Hamburg

PostPosted: Fri 15 Jun '07 15:51    Post subject: Reply with quote

The easiest way is using PHPMyAdmin or you could use mysql from the console.
Back to top
msg_gol



Joined: 12 Jun 2007
Posts: 8
Location: here -th

PostPosted: Fri 15 Jun '07 16:53    Post subject: Reply with quote

hi
I made some thing like a cms and I manage to make installation script for configuring the file for mysql connection
I don’t want my user go to his phpmyadmin or console to import the sql file
So I’m looking for script witch can do this automatically after filling mysql user and pass
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7104
Location: Germany, Next to Hamburg

PostPosted: Sat 16 Jun '07 10:00    Post subject: Reply with quote

There is a lot of stuff about that @ http://de3.php.net/manual/en/ref.mysql.php

Another tip is look into other CMS how they made the installation script.
Back to top


Reply to topic   Topic: Importing Data into MYSQL Database from php page View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner