How can I read an data from access database (*.mdb) and get the column data types? More specifically, insert the data from Access into a MySQL database?
This is what I’m aiming for…
- Connect to Access (*.mdb) with authentication.
- Get data types of Access.
- Create corresponding data types in MySQL.
- Insert data.
Thanks.
To migrate from one base to another database, the first thing is to have the same table structure.
Then, to read from a database of ACCESS can do something like ( http://es.php.net/manual/es/function.odbc-exec.php#71615 ):
Then, with the results, you must perform the commands of inspection at the MySQL database ( http://es.php.net/manual/es/function.mysql-query.php). For example.