Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 08-03-2005, 05:14 PM   #1 (permalink)
Registered User
 
Join Date: Aug 2004
Location: Bonney Lake, WA
Posts: 6
OS: Win XP


Red Faced Could use a bit of clarification on MySQL

I'm muddling my way through PHP and in the past have set up my databases through interfaces (PLESK and myPHPAdmin) setup with the website's ISP. So now I'm on my own and have installed the Apache server, MySQL, and PHP5 on my home computer (Windows XP).
Before I go on to a problem I'm having with connecting, I'd like to know if I've got the visual right on this MySQL thing. It is my understanding that MySQL is one central 'storage' space for all databases created in MySQL & is therefore accessible from anywhere as long as I have the username & password (and the computer has the capabilities to access it), is this right?
So if I create a database from my home computer for a website that already has hosting setup, but I don't use an interface setup by that hosting company, I won't need to reCREATE the database through the hosting companies interface later, right?
(As I'm typing this, this seems like a silly question since I work ,with the databases I've already set up, from home all the time with Dreamweaver using the PHP connection code with localhost, username, password . )
Also maybe someone can explain why it is always 'localhost' in the connection code, why isn't it the IP address of the site/ISP?
iankoleryn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 08-04-2005, 04:06 AM   #2 (permalink)
Professor/Moderator, TSF Design School
 
Grove's Avatar
 
Join Date: Jun 2005
Location: Australia
Posts: 2,383
OS: Windows Vista SP2 32bit


MySQL

I'm not too sure what you meant but I'll try and explain it to the best of my knowledge:

When you installed MySQL, you were asked to configure it. With those configurations on your home computer you will NOT be able to edit your database while on another computer. (Not that I am aware of) You will obviously be able to access it when using the website. By this I mean able to retrieve data from MySQL if you have Apache, PHP and MySQL setup.

Localhost is used instead of your IP because it is easier to remember. Localhost means your computer's IP. If you had a Dynamic Connection (IP Changes Everytime You Reboot) you would have to keep checking your IP. This is why you just use localhost because it is easier and more effecient.

If I have not answered your question, feel free to post back and I would be more than happy to justify or clarify my answers

Hope that helps,
Grove
__________________
==========================================

Get Help:
TSF Security Forum | HijackThis | MB's 5 Step Process
Get Clean:
AdAware SE | Spybot S&D | CWShredder | Ewido | CleanUp!
Get Protected:
SpywareBlaster | SpywareGuard | Windows Updates | IE-SpyAd


If TSF has helped you, please consider making a donation to help keep the board running.
Grove is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


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

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




All times are GMT -7. The time now is 11:49 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85