I decided to use
ruby to create table and insert data for the database expriment of xjtu.
Also, the code can be reused, which can be found at GitHub.
First, login to
sudo mysql, it is strange that it does not require any password, which is different to
mysql and confusing.
Then type “_mypassword”.
Ruby is my favourite dynamic programming language, so I decide to use it to make this experiment happier.
First install the requirements.
If it works, it will print the version of your
After that you can go to
phpmyadmin to check(if installed).
First I transform the table in the Word document to csv files.
The csv files stored in subdirectory data.
And then the ruby.