Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Converting Access to MySQL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Converting Access to MySQL

 Post Reply Post Reply
Author
brand1m View Drop Down
Newbie
Newbie


Joined: 21 June 2007
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote brand1m Quote  Post ReplyReply Direct Link To This Post Topic: Converting Access to MySQL
    Posted: 21 June 2007 at 5:18pm
I have a webwiz forum on access (8.05).  I'd like to convert it to the MySQL so I can move it to a different server.  I saw the post about converting to MS SQL, but where can I go for direction on converting to MySQL?
Back to Top
dieu View Drop Down
Newbie
Newbie
Avatar

Joined: 23 March 2005
Location: Australia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote dieu Quote  Post ReplyReply Direct Link To This Post Posted: 28 June 2007 at 4:13am
Hi,

Just gone through the process just then.... Thumbs%20Up and all is working on a test site and now doing on active site...  Big%20smile

Here is what I've done.... oh my site is remote.  Its at brinkster......  The admins told be to move over to ms sql  or mysql from my  MS ACCESS db.

Argh!!! the thought....

OK HERE IS WHAT TO DO...

BEFORE YOU START
------------------------
• Download   navicat v8 for mySQL tool.  (Best mySQL tool on market, free for the first month)
• Back up your .mdb database. and the forum.
• if  webwiz forum is pre v8 then firstly upgrade to MS Access 2000 version, and run the MS Access 7.x to 8.x Upgrade Tool 
• Back up new upgrade of .mdb and also the forum.

PROCEDURE TO MIRGRATE.
---------------------------------

• Lock your forum
• Download the mdb database to a local drive.
• Completely remove the old forum from the system and download the mySQL version, extract into websites folders.  i.e /forum
• log into your mysql command line client and create your database....

    create database {database name};

    i.e   mysql> create database webwiz;
• edit,    database/database_connection.asp and move down to line 123 to edit

strSQLDBServerName = "{ip or dns name of mysql database}"
strSQLDBUserName = "{username}"
strSQLDBPassword = "*******"
strSQLDBName = "{whatever you called it}"           
         i.e example above would be  strSQLDBName="webwiz"

• Using your web browser and connecting the the forum.... load page...
     mySQL_server_setup.asp

• type the username and password to create all the tables and their respective links and foreign keys, primary keys and all the other goodies for a relational database.  

NOTE: DO NOT USE A MIGRATION TOOL IT WILL REMOVE THESE LINKS, INCLUDING THE AUTO INCREMENTAL FIELDS.

• Open Navicat v8 and connect to the mySQL database...
• Open database   (example: webwiz)
• Expand Tables...
• Double click on tblauthor
• Select  Import Wizard icon
• Select  (*) MS Access database (*.mdb)
• Select the mdb database file for  IMPORT FORM:
• tick, [X] tblAuthor  and [next]
• Check that the source and target are correct... should be the same name, then [next]
• Check that the fields properly match... All should be the same... then [next]
• Select  (*) Copy: delete all records in destination. repopulate from the source
• Click [ Start ]

• REPEAT these procedures from line 4 : Double click on......... until  all of the databases have been repopulated.  Note: only repopulated the new tables.. no need to recreate old tables that aint used in the new database. i.e tblActiveUser  is not need to repopulate.


Shouldn't  take long as it does it as a batch load...

All done..... Reload website on browser and check it out...


Back to Top
get_up View Drop Down
Groupie
Groupie
Avatar

Joined: 07 April 2006
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote get_up Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2007 at 6:01pm
Thanx man this is what i was searching about ...long time
i spend a week for converting with phpmyadmin ..
 its too funny to see this how easy is
 
thanks again.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.