If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Navicat problem: Exporting...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-13-06, 20:02
Clark_Kent Clark_Kent is offline
Registered User
 
Join Date: Jun 2006
Posts: 2
Question Navicat problem: Exporting...

Hi Everyone,

I've decided to use Navicat to help create the MySQL database i require for a dymanic website i'm creating using coldfusion. I'm rather new to using navicat and so i'm unsure as to how i can export data. I've been using Microsoft Access mostly for designing any databases i may need. I'm now giving MySQL a shot and i'm using Navicat as my interface to designing MySQL databases. Basically i'm creating a database driven website using coldfusion... normally when i used Access to create my databases i could simply cut and paste the actual database file generated by Access into the 'wwwroot' folder which it needs to be in order for me to locally develop my dynamic website. However i'm not sure how to do this with navicat... I in a sense want to export the entire database i have created into that 'wwwroot' folder in order for me to continue developing. How would i go about doing this?

Would i need to simply select every table in the database and using the export wizard to export it to the 'wwwroot' folder? And if so, which export format should i use? I noticed i can export tables into a MS Access format, but i can't imagine that being wise since the actual database will be hosted on a linux server once its complete. So in order for the database to function correctly on my linux server, which export format do you think i should use?

Thanks for your help, it's much appreciated .

- CK
Reply With Quote
  #2 (permalink)  
Old 06-14-06, 03:48
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,260
Hi CK, and welcome to the forum

fist off I think there is a boit of cnfusion about how MySQL interacts with your web server. The web server places a request to the dbserver. the webserver doesn't know where the dbserver physcially sits (it couild be on the same machine, it could be on a machine next door, next rack, or half way accross the world.

The dbserver is reposnisible for managing its data, you can configure this at setup, but once configured thats what it uses for any and every application (be that different webservers, many sites using the same webserver or other processes requiring data access (eg your FTP admin of the sites data)

So rather than explicitly telling MySQL where you want the data at the time you want to create the db, you need to let MySQL handle these sort of issues.

Personally I have never used Navicat - I used dbTools which seemed a very painless way of getting to and from MySQL from Access. However I have used MySQL Administator (& MySQL Query Browser) from MySQL to do some of the basic admin & checking.

Normally I'd create the db in Administrator, assign some basic permissions. The switch to a.n.other tool to do the updating. The return to Administrator to ensure that permissions are correctly set for the objects. A brief word of caution you need to make sure that the userid you connect to MySQL has got admin privileges.

HTH
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 06-14-06, 10:22
Clark_Kent Clark_Kent is offline
Registered User
 
Join Date: Jun 2006
Posts: 2
Hi Healdem ,

Thank you for your response. MySQL is certainly new to me so i apologize in advance if i cause confusion due to my inexperience with MySQL. So from what i understand, the database i create sits inside MySQL itself. Just so we're on the same page, i am locally developing this database and so the only server connection i have is to the localhost, I am not interacting with any web server - the way i see it, once i'm done with creating the database locally and connecting it to the website i've designed; then from there will i upload all that onto the web server.... is that the correct way to go about doing this?

I went into MySQL Administrator and in the Startup Variables page under the General Parameters tab i noticed it displays the data directory and i noticed a folder of the name of my database there along with an OPT file and .FRM files which appear to be my tables within that folder.... what exactly is that OPT file and those .FRM files? Isn't that my database?

Thanks for your help, i highly appreciate it .

- CK

Last edited by Clark_Kent; 06-14-06 at 10:40.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On