SQL Import: Execute MySQL queries imported from a file

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 29%Total: 2,847 All time: 1,310 This week: 307Up
Version License PHP version Categories
sqlimport 1.0Public Domain4.0Databases, Files and Folders
Description Author

The class can be used to execute MySQL database queries imported from a file.

It opens a given file and reads it line by line to execute as SQL queries to a given MySQL database.

Picture of Ruben Crespo
  Performance   Level  
Name: Ruben Crespo <contact>
Classes: 6 packages by
Country: Spain Spain
Age: 43
All time rank: 1174 in Spain Spain
Week rank: 126 Down2 in Spain Spain Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file SQLTest.sql Data SQL File Example
Accessible without login Plain text file sqlImportExample.php Example Example
Plain text file ClassSQLimport.php Class Class Source

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,847
This week:0
All time:1,310
This week:307Up
User Ratings User Comments (2)
 All time
Utility:33%StarStar
Consistency:58%StarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:29%StarStar
Rank:3307
 
I've tested the example, and it doesn't work!!!
11 years ago (Mariano Gomez)
2%Star
That's a good, very useful and simple class to import sql .
12 years ago (José Filipe Lopes Santos)
70%StarStarStarStar
 

For more information send a message to info at phpclasses dot org.