Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 05-25-2007, 10:39 AM
Corporal
 
Join Date: Feb 2006
Posts: 18
Default remotely connecting to a MySQL db

Is it possible for me to let a user to remotely connect to one of my mysql db's?

I currently have multiple db's but I don't want to grant them access to the others. Only connection to a single particular db.


If this is allowed, what's the best possible way to connect to it and make changes etc.? Will the MySQL GUI Tools help?

I tried connecting with the MySQL Administrator program and could not connect. Gave me error 1045. Access was denied, even though I had the correct email address and password.

edit: just realised the IP address it showed is my local IP address. Why would it tell me access was denied at my local address?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 05-25-2007, 09:27 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,031
Default Re: remotely connecting to a MySQL db

Connection to a particular database is possible. Of course, you need some piece of software that will allow you to do so.
There are two ways to establish a remote connection:
1. Direct connection, through http protocoll: in this case, you must enter your CP, MySQL section. and add your host to the allowed hosts. The problem with this solution is that if you have a dynamically changing IP address and host (as many ISP providers will assign you to a different server each time you disconnect/connect) you will need to repeat this process everytime you want to connect to the database.
2. Through a php script that you upload on your site. This script acts as "intermediate" between your local computer software and your DB. To you it seems like a seemingless connection (though it is not). This way you connect to the database as localhost, through internet, and there are no connection or permissions issues, other than the correct DB username/password.

To allow connection to only one of the databases, create a user / pass that will only have access to that particular DB. You can also limit the privileges if you want, through your CP.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 05-27-2007, 05:34 PM
Corporal
 
Join Date: Feb 2006
Posts: 18
Default Re: remotely connecting to a MySQL db

Thanks for that valuable information.

Do you happen to have any recommendations for programs both client/server side for MySQL db administration. As I cannot let this user access through my CP for PHPMyAdmin.

Is is possible to have something similar to phpmyadmin which will not interfere with my other DB's ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 05-27-2007, 05:36 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,031
Default Re: remotely connecting to a MySQL db

http://www.navicat.com/

However, i have not yet understood if you want a database administration tool or a database interface (to be able to view, edit delete etc the listings of a particular application)
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 05-28-2007, 05:14 PM
Corporal
 
Join Date: Feb 2006
Posts: 18
Default Re: remotely connecting to a MySQL db

An interface would do I guess. He needs to get data off various tables and into a slightly differently designed database.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 05-28-2007, 06:44 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,031
Default Re: remotely connecting to a MySQL db

Then navicat will do the job.

A database interface is usually designed for specific applications and allows browsing, editing, deleting, adding, sorting, searching, printing etc. as well as having particular features as On load evemts etc. It also allows jointed tables browsing. BUT, it is specifically built for a specific application, it will not do the same job with another table or database.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


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


All times are GMT +1. The time now is 02:56 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - All Rights Reserved

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