Current location: Hot Scripts Forums » Programming Languages » PHP » Beginner MySQL (it requires an answer of some length im assuming)

Beginner MySQL (it requires an answer of some length im assuming)

Reply
  #1 (permalink)  
Old 07-02-04, 11:40 AM
Mark_SC.SE Mark_SC.SE is offline
New Member
 
Join Date: Jul 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Beginner MySQL (it requires an answer of some length im assuming)

Im a newbie to MySQL. Im wondering how getting MySQL online works?

Basically, with "MS Access" you create your database, and your ASP page and then upload both to a server and away you go.

Im running IIS on Windows XP Pro. And have a connection to a MySQL database and am running SQL queries on it and everything is cool.

But when you create a MySQL database, where does it get saved to? What folder. Because I cant seem to find it.

I think its saved to this folder "C:\mysql\data\dbtest" with the extention of ".MYD"

But what would I need to upload to a server. Do I need to upload more than just the database and the ASP page? Because in the ASP code you dont specify "databasename.MYD"

Im connecting to my database through

objConn.ConnectionString = "DRIVER={MySQL}; database=dbTest; server=Mark; uid=root;

Sorry for the longwinded explanation, but im trying to set the scene as best as possible.

Any info on how it all works to get MySQL running online would be great

Many Thanks

Mark
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 07-02-04, 01:18 PM
perleo perleo is offline
Coding Addict
 
Join Date: Jul 2003
Location: Ireland
Posts: 269
Thanks: 0
Thanked 0 Times in 0 Posts
MySQL doesnt work anything like Access.

Firstly, you dont need to anything with those files in the data folder. You dont call them in the script, you simpily call the table name

To get your db online, you need to export the database to an .sql file, and run this on your server.
Try the MySQL online documentation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 02:22 AM
Redirection back to a page from form submit DAL Perl 11 03-21-05 02:45 PM
PHP, MySQL Beginner... Help Needed Displaying Results db3db3 PHP 1 05-12-04 01:24 AM


All times are GMT -5. The time now is 11:40 AM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.