Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Script to populate MySQL tables

Is anyone aware of a script/class (preferably in PHP) that would parse a given MySQL table's structure and then fill it with x number of rows of random test data based on the field types?

I have never seen or heard of something like this and thought I would check before writing one myself.

like image 838
Robert Swisher Avatar asked Aug 21 '08 00:08

Robert Swisher


1 Answers

What you are after would be a data generator.

There is one available here which i had bookmarked but i haven't got around to trying it yet.

like image 113
Jarod Elliott Avatar answered Oct 15 '22 06:10

Jarod Elliott