Reply
Need help with MySQL
Old 06-17-2007, 04:59 PM Need help with MySQL
Novice Talker

Posts: 6
Name: Mark
Hi
I'm new to databases/web design. My question is I want to learn MySQL so I figured installing it along with PHP and Apache would be good for learning but I see on my hosting account I have 25 MySQL databases to use. Other people are telling me to go to the MySQL website and download it and then on to the other sites PHP and Apache to download. What are the downloads for to turn my computer into a server and keep on while people access data or do I build the database on my pc locally and then upload to the server. I'm kind of stumped here. Thanks
mark36001 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 06-17-2007, 07:06 PM Re: Need help with MySQL
Average Talker

Posts: 27
Name: Mike Robinson
Location: London, England
Quote:
My question is I want to learn MySQL so I figured installing it along with PHP and Apache would be good for learning but I see on my hosting account I have 25 MySQL databases to use... What are the downloads for to turn my computer into a server and keep on while people access data or do I build the database on my pc locally and then upload to the server.
Server route
If you just want to try out MySQL then just use the MySQL on your server. Either get a book or follow examples off the web. SQL isn't difficult to learn.

At a later date you can try writing some web pages in PHP that access your database - it's not difficult if you follow examples on the web and, if it works for you, then it will also work for anyone else who wants to accesses your web pages.

The only reason not to use your servers MySQL is if you want to use stored procedures and the MySQL you are currently given is before version 5. Another slight difficulty is having to access MySQL via a terminal style connection which might be a bit basic for you - you could try out SQLyog or phpMyAdmin which allows you to build scripts on your PC and run them on remote servers.

PC route
If you want to turn your PC into a server (with the features you're after) then you'll need to install Apache, MySQL and PHP. You'll also have to have your PC permanently connected to the web and have these services permanently running - otherwise people won't be able to access your application/web pages on your PC.

You'll also need to assign a name for your PC so people can get to it (ie www.myGreatApps.com) - you can do this cheaply through Go Daddy.

My advice
I'd just use the services supplied to you through your hosting account as you're already paying for it and it's the path of least resistance.
Other advantages are that they'll back up your database etc and provide you with help if needed. If you turn your home PC into a server then you're on your own.

Mike
mike_bike_kite is offline
Reply With Quote
View Public Profile Visit mike_bike_kite's homepage!
 
Old 06-18-2007, 10:10 PM Re: Need help with MySQL
Sydpix's Avatar
Ultra Talker

Posts: 355
Name: Denny
Location: In a can...
There is a program called Apache Friends which has a bundled Apache, phpMyAdmin, PHP and MySql all in one package.

You simply install, open the cpanel and click run.

All of your web files are stored in htdocs folder. Easy as pie. Not really sure how secure it is though.

I find it great for testing scripts on my home machine.
__________________
Man... IE stinks ... and If I get one more contingency offer!!! **Sydpixel**
Sydpix is offline
Reply With Quote
View Public Profile Visit Sydpix's homepage!
 
Reply     « Reply to Need help with MySQL
 

Thread Tools

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13010 seconds with 13 queries