Jonesey007
asked on
Bulk load dummy test data into mysql
Hi,
Im doing some testing and would like to load our MySQL database with 100,000 rows.
I assume il need to write a script to do this.
Does anyone know of any examples on how i can do this?
Thanks
Pete
Im doing some testing and would like to load our MySQL database with 100,000 rows.
I assume il need to write a script to do this.
Does anyone know of any examples on how i can do this?
Thanks
Pete
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If u have the csv files ,u can do it via a phpmyadmin...
Go to phpmyadmin
click import
browse for the csv file
and select ,(comma) for terminated by
Then go.
Before that u need to create a structure of the table there in the database...
*****LOAD DATA ******command is the efficient one and for beginners phpmyadmin gui is easy.