MS Access - MySQL export

GrantZ

New member
Local time
12:25 AM
Messages
10
Hi, I'm making a little database for web, but i can't find how to export it (the code, not the content). If possible, the result should look like this example:

Code:
CREATE TABLE `tasks` (
  `id` int(11) NOT NULL auto_increment,
  `text` varchar(100) NOT NULL,
  `added` datetime NOT NULL,
  `done` enum('yes','no') NOT NULL default 'no',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8

Is it possible to do? If yes, how?

Thanks

Edit: Using MS Office 2010
 

My Computer

OS
Win XP, 7, Ubuntu, FreeBSD
Hi GranZ,
Welcome to Win 7 Forums.
Will send someone your way soon.
You want just to export the code and not the content?
 

My Computer

Computer Manufacturer/Model Number
HP M9077c
OS
Windows 7 Home Premium 64bit
CPU
Intel(R)Core(TM)2 quad [email protected] 2.39GHz
Motherboard
ASUSeK
Memory
6GB DDR2 6400
Graphics Card(s)
GeForce 8500/512MB
Sound Card
Realtek High Def Audio
Monitor(s) Displays
HP w2408 LCD 24" widescreen
Screen Resolution
1920x1200
Cooling
6 pack of Bud
Keyboard
MS wireless Inteli
Mouse
MS wireless Inteli
Thank you, The Howling Wolves.
I need just the code, through knowing how to export the content might be useful as well.
 

My Computer

OS
Win XP, 7, Ubuntu, FreeBSD

My Computer

Computer Manufacturer/Model Number
HP M9077c
OS
Windows 7 Home Premium 64bit
CPU
Intel(R)Core(TM)2 quad [email protected] 2.39GHz
Motherboard
ASUSeK
Memory
6GB DDR2 6400
Graphics Card(s)
GeForce 8500/512MB
Sound Card
Realtek High Def Audio
Monitor(s) Displays
HP w2408 LCD 24" widescreen
Screen Resolution
1920x1200
Cooling
6 pack of Bud
Keyboard
MS wireless Inteli
Mouse
MS wireless Inteli
Sorry for misunderstanding, i meant export content to MySQL. Example:

Code:
INSERT INTO `tasks` VALUES('1','task 1','2010-01-24 18:16:05','no'),
 ('2','task 2','2010-01-24 18:17:45','no'),
 ('3','task 3','2010-01-24 18:18:12','yes');

Anyway, the thing i need is export of the database structure to MySQL.
 

My Computer

OS
Win XP, 7, Ubuntu, FreeBSD

My Computer

Computer Manufacturer/Model Number
HP M9077c
OS
Windows 7 Home Premium 64bit
CPU
Intel(R)Core(TM)2 quad [email protected] 2.39GHz
Motherboard
ASUSeK
Memory
6GB DDR2 6400
Graphics Card(s)
GeForce 8500/512MB
Sound Card
Realtek High Def Audio
Monitor(s) Displays
HP w2408 LCD 24" widescreen
Screen Resolution
1920x1200
Cooling
6 pack of Bud
Keyboard
MS wireless Inteli
Mouse
MS wireless Inteli
That really is not what i need.
It's 5:10 A.M. here, got to go for a while.
 

My Computer

OS
Win XP, 7, Ubuntu, FreeBSD
That really is not what i need.
It's 5:10 A.M. here, got to go for a while.

Hi Grantz,

I'm also a little unclear what you are trying to achieve here. Looking at yoru two queries you are creating a DB schema and inserting data.

Are you trying to export the an Access database schema and import that into MySQL? If so take a look at MDB tools. When doing this, double check all of your column names to ensure that they are not reserved names in MySQL (there's a few we can't use).

-Timo

EDIT: This gives more information. If we are miss-understanding you and it's not the schema, please take us through in baby steps and give an example (we won't take offense :P )
 

My Computer

Computer Manufacturer/Model Number
Custom Hack job
OS
Windows 7 Ultimate 64 bit
CPU
Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
Motherboard
GigaByte EP45-UD3
Memory
8 GB Kingston
Graphics Card(s)
Nvidia GeForce 9600GT
Sound Card
Soundblaster Audigy
Monitor(s) Displays
AOC x2 22"
Hard Drives
2 x Samsung 500GB (RAID)
2 x Samsung 2TB
1 x WD Green 2TB
1 x Seagate 1TB
1 x Samsung 500GB
PSU
Thermaltake QFan 750W
Case
CM Scout Gaming
Cooling
Coolermaster V10
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wireless Optical 2000
Internet Speed
320
Other Info
Winfast PVR2000CP
LG DVD-RAM DVD/RW/DL Super Multi
Linksys WMP300Nx2 Wireless Adapter
After few hours of playing with trial version of MS Access 2010, i found out that is lacks (at first i thought it's just moved somewhere) the very basic functions i use in school in Access 2007.
I have MS Office 2007 Home & Student edition, which doesn't include the MS Access.
I'm going to write the code manually, because the deadline is 29.7. and it seems to be faster than learning how to use some database designer that I have never used before.

Anyway, thanks for your help. MDB Tools is what I was looking for. Through, i thought it's included in the Access 2010.
 

My Computer

OS
Win XP, 7, Ubuntu, FreeBSD
After searching for a free(trial) version of MS Access and the MDB tool I found that you have to pay for it.
Sorry we couldn't help more and hope you get your project done in time.
 

My Computer

Computer Manufacturer/Model Number
HP M9077c
OS
Windows 7 Home Premium 64bit
CPU
Intel(R)Core(TM)2 quad [email protected] 2.39GHz
Motherboard
ASUSeK
Memory
6GB DDR2 6400
Graphics Card(s)
GeForce 8500/512MB
Sound Card
Realtek High Def Audio
Monitor(s) Displays
HP w2408 LCD 24" widescreen
Screen Resolution
1920x1200
Cooling
6 pack of Bud
Keyboard
MS wireless Inteli
Mouse
MS wireless Inteli
Interesting, I'm pretty familiar with Access 2007, but I'm yet to install Access 2010 and compare them. I might take a look later and for the sake of updating info come back here if I learn anything about exporting Schema's, I'm sure you can export it to xml or at least to an SQL script.

Anyways, that doesn't help you :-) Thanks for getting back to us and good luck with your project.

-Timo
 

My Computer

Computer Manufacturer/Model Number
Custom Hack job
OS
Windows 7 Ultimate 64 bit
CPU
Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
Motherboard
GigaByte EP45-UD3
Memory
8 GB Kingston
Graphics Card(s)
Nvidia GeForce 9600GT
Sound Card
Soundblaster Audigy
Monitor(s) Displays
AOC x2 22"
Hard Drives
2 x Samsung 500GB (RAID)
2 x Samsung 2TB
1 x WD Green 2TB
1 x Seagate 1TB
1 x Samsung 500GB
PSU
Thermaltake QFan 750W
Case
CM Scout Gaming
Cooling
Coolermaster V10
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wireless Optical 2000
Internet Speed
320
Other Info
Winfast PVR2000CP
LG DVD-RAM DVD/RW/DL Super Multi
Linksys WMP300Nx2 Wireless Adapter
Back
Top