hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : mysql webmaster access
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

mysql webmaster access

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-21-2003, 01:53 PM
cholo1124 cholo1124 is offline
Newbie
 
Join Date: Apr 2002
Posts: 20
Question

mysql webmaster access


I have a hosted account under cpanel 6. I have a webmaster who I gave ftp-only access to. Now, I also would like to give him the ability to make/drop tables and do selects in the mysql database without giving him the root cpanel password. How can I do this?

Is there a way to give him access to phpmyadmin without giving him my main cpanel password?

If not, is there any other alternative? (Like, giving him ssh access and letting him administer mysql db through command line?)

Thanks for any info!

Reply With Quote


Sponsored Links
  #2  
Old 07-17-2003, 05:26 PM
aaBBaa aaBBaa is offline
Disabled
 
Join Date: Jul 2003
Posts: 6
*

Hi cholo1124,

Yes, you can GRANT him privileges to that database without giving him the main CPanel password.

There are 2 things that need to be done:
A) Grant him a username/password and access to that database

B) Give him a PHPMyadmin installation that does not require the CPanel login.

The best way to do this is as follows:

1) Download PHPmyadmin from http://www.phpmyadmin.net and install PHPMyadmin into some directory under his public_html (say public_html/pmy/

2) Login as root to your server, type: mysql

3) at the mysql> prompt, type:
GRANT ALL PRIVILEGES ON database_name.* TO somename@1.1.1.1 IDENTIFIED BY 'passw0rd3';
(where 1.1.1.1 is his IP mask, or you can enter somename@"%" to allow any IP.

4) After PHPMyadmin is unzipped into public_html/pmy/, edit the config file and enter his username and password you entered in the mysql command above

5) Point your browser to the website.com/pmy/ and login


I hope this has been of any help. If you wish, feel free to ask me to login to your server, I would gladly do this for you.

Cheers,
Jeff
Jeff@aaBBaa.com

Reply With Quote
  #3  
Old 07-17-2003, 06:51 PM
cholo1124 cholo1124 is offline
Newbie
 
Join Date: Apr 2002
Posts: 20
Thanks! I appreciate the detailed response. I will give it a shot.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Softaculous Launches AMPPS Installer Version 1.5 Web Hosting News 2012-01-26 16:52:40
Web Host Rackspace Launches Private Beta for MySQL Cloud Database Web Hosting News 2011-12-01 21:09:51
Web Host A2 Hosting Launches QuickInstaller Tool for VPS Plans Web Hosting News 2011-08-19 20:00:53
Web Host FireHost Partners with Cloud Security Firm Gazzang for Data Encryption Web Hosting News 2011-08-16 20:33:43
Web Host HostDime Offers Attracta SEO Tools to Resellers Web Hosting News 2011-08-03 17:07:08


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?