Tutorial:
Convert FoxPro Database To MySQL
Dr.
Thomas E. Hicks
Scott Schwartz
Research By Mark Silliman & Kevin Stansell
Computer Science
Department
Trinity University
1]
Navigate browser to http://www.dbtools.com.br/EN/
. Download the transfer tool that is used here to transfer a fox pro database
into MySQL. (See Below!)
DBManager\prosetup200.zip
[For Trinity Students Only!]




6) I download all applications to the Software directory. As you can see below, I have created a folder, called DBManager in which to place the download. (See Below!)
7) Using the mouse, select/push the Save button. (See Below!)
8) The download time will vary with the connection. (See Below!) If you get an install error, ignore it!
1) As you can see, file prosetup200.exe has been downloaded to the C:\Software\DBManager folder. Using the mouse, double-click on the application icon. (See Below!)
2)
Using the mouse, select/push the YES button. (See
Below!)










1) We are starting with a FoxPro Database, called Rest. (See Below!)
2) Part of the data may be seen in the browse window below. (See Below!)
3) The Rest database layout is as folows: (See Below!)

4) A copy of this database may be downloaded. (See Below!)

You may also launch DB Manager Professional by double-clicking the desktop
icon!
Note:
If You have already created a connection with a server, you need not do steps 2
through 7 involving creating a connection which follow. Instead, go
directly to step 8 of this section.
2) The DB Manager will
start. Using the mouse, hold down the Tools Menu --> Select Server -->
Select Server Manager (See
Below!)


Using the mouse, select the Save button.
(See Below!)



7) Using the mouse, push/select the Yes
button to reload the servers. (See Below)

8) After selecting Yes in the previous
step, you will be returned to the DBManager main screen. Using the mouse, right click on your
connection in the WorkSpace window and select the Connect option. The Connection is now running, and you should see the green play
icon next to the server instead of the stop icon. Note the connection in
the Message window. (See Beleow)

9) We are connected. Using the mouse, hold down the Tools Menu bar --> Select
Data Management --> Select Import/Export Wzards.
(See Beleow)









1) Using the mouse, hold down the
Start Menu --> Select Run. (See
Below!)

2) Using the mouse, click in the
text field Open:. Use the keyboard to type in cmd to open the
command line so we can get to MySQL. Again use the mouse to select OK.
(See
Below!)

3) Using the mouse, click in the
text field Open:. Use the keyboard to type in cmd to open the
command line so we can get to MySQL. Again use the mouse to select OK.
(See
Below!)

4) Once in the Command Line,
navigate to your MySQL bin folder, so you can run the MySQL command line
interface. [Here, we navigated with cd c:\program
files\mysql\bin]. After you have typed in the path to your MySQL bin
folder, hit enter on the keyboard. Then run the MySQL executable by
typing mysql and hitting enter again. MySQL welcomes you. (See
Below!)

5) Once in the MySQL environment,
change to the database you transfered [Here, use Rest] as done below with
the keys. Then press enter. So far so Good. To see the tables
that were transferred type the command, show tables; Everything seems to
be in order. (See Below)

6) The following MySQL commands
will display the Transferred Database, here, just as it was seen in the FoxPro
Environment. The Transfer was a Success! (See Below!)

7) You can also expand the Databases --> BusinessApp --> Tables --> Rest in the DBManager. Notice the Columns, Indexes, Foreign Keys, and Check Constraints folders on the right. (See Below!)

8) Double-Click on the Columns folder to see the database fields. (See Below!)

9) With the DBManager, you can also see the users, change the User Passwords, etc. Check it out! (See Below!)