Webmaster Key - Discussion Forums


Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 06:54:03 PM

Login with username, password and session length
Welceome to Forums!

Important information for guests and new members:

In order to understand the full benefits of becoming an active member of this forum, please review the following information on guest and new member restrictions. These forum changes have been prompted by an overwhelming and unreasonable amount of bot postings and incoherent guest spam messages. We wish to prevent these events from happening in the future and make our community a more comfortable place for all of our members.

For guests:

Guests are not allowed to open new topics, polls, or posts attachments.
If you wish to open up new discussions on this forum, we encourage you to register.

For new members:

New members with less than five posts are not allowed to modify additional profile information such as avatars, contact information, biographies, and signatures. However, new members are encouraged to post their own topics or reply to topics initiated by other members. Become active on the forums and 5 posts should be an easy task!

We are a diverse community with members from all over the world. We encourage new ideas and interesting conversation. Do not be afraid to post webmaster/computer-related questions or problems, as our active members are always willing to help when they are able. Interested? Join us.

+ Webmaster Key Forums
|-+ Webmaster Corner
| |-+ Site Design and Web Authoring
| | |-+ Coding Talk
| | | |-+ Mysql question - no luck on getting answers elsewhere..
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print
Author Topic: Mysql question - no luck on getting answers elsewhere..  (Read 2930 times)
88guy
Guest
« on: June 13, 2004, 08:35:13 PM »

I'm new here and I have no idea wether or not this the appropriate place to ask this sort of question.  I've noticed subjects like "The War In Iraq", "My border collie had 8 pups!", etc......so maybe I'm "barking up the wrong tree..." (clever segue, huh?).  Anyway - can't get an answer elsewhere, so what's to lose?  I want to offer hosting, virtually for free, to family and friends.  I'm 52, no computer whiz, and it's strictly for fun.  I have a Linux server with RedHat 7.3, 6 virtual hosts, Qmail, webalizer.....kind of a fun setup.  I have a blast with the thing.  My wife hates it - that's another discussion board.  When I used to pay for webhosting I could set up a Mysql-based messageboard and I was issued a username and password.  On my own system, I have multiple boards and, when I install them, I have to use the username "root" and my personal password for the root account.  Also, I have 2 instances of the popular phpBB2 and I have to use different database names for them - which makes sense. Finally - my question: how does a user have his own "area" of a mysql database wherein he uses his own username, password, etc.?  Is this even possible - or do I have some false memory of what happened when I bought webhosting..?  Can someone point me in the right direction short of reading the man pages from beginning to end or buying a book.... Thanks.
Report to moderator   Logged
spherica
Key Keeper
Sr. Member
****
Posts: 277


Consultant


WWW
« Reply #1 on: June 14, 2004, 09:40:26 PM »

I'll let one of our mods that has experience know when he becomes avilible, hopefully he can cure your ruffled feathers Smiley
Report to moderator   Logged

88guy
Guest
« Reply #2 on: June 14, 2004, 09:51:25 PM »

I got on a MySql mailing list and got my answer......also did some reading.  Still, thanks for taking the time to respond.
Report to moderator   Logged
spherica
Key Keeper
Sr. Member
****
Posts: 277


Consultant


WWW
« Reply #3 on: June 14, 2004, 10:08:21 PM »

No Prob, any chance you can post the answer for the next person that comes and asks??
Report to moderator   Logged

lostingermany
Key Keeper
Jr. Member
*
Posts: 27


« Reply #4 on: June 15, 2004, 09:35:59 AM »

Hi spherica

You have alot of possibilities to solve your problem. The first thing you have to do is add a new user. The problem is what kind of priviliges that user is suppose to receive. You can limit the user to a certain table or database. You can even restrict the user from a certain IP to use a specified database or table.
If you want to do it by hand I use PHPMyAdmin. You will have to add a user in the user table in the MySQL database. You have to watch out what kind of privliges that you give the user. If you just want to add a user and not restrict him to one database or table then you will need to add a "Y" in the following privilige columns, Select_priv,  Insert_priv,  Update_priv,  Delete_priv,  Create_priv,  Drop_priv, Index_priv,  Alter_priv,  Create_tmp_table_priv and  Lock_tables_priv. In the rest of the columns you will have to put in an "N".
If you want to restrict him to a certain database then add an "N" in all of the columns. After you do that then you will have to go to the db table and add a user in that table, too. In this table you have to enter the name of the database and the user that you just added in the user table. This time you can set all of the columns to "Y" except for Grant_priv and References_priv where you have to enter a "N".
It gets even more complicated, but I think that is what most people use the most.

Have fun with it!
« Last Edit: June 15, 2004, 09:39:36 AM by lostingermany » Report to moderator   Logged
Pages: [1] Go Up Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print 
+ Webmaster Key Forums
|-+ Webmaster Corner
| |-+ Site Design and Web Authoring
| | |-+ Coding Talk
| | | |-+ Mysql question - no luck on getting answers elsewhere..

Jump to:  
« previous next »


Our Partners
RelmaxTOP Ranking System Web Hosting RelmaxTOP Ranking System
Staff Sites
12Noon[12Noon Gallery] Andy[Urgentclick]
Tamuril[Tamuril's Digital Art Exhibit] Sensovision
Powered by MySQL Powered by PHP We are hosted by Relmax Inc. |Our Privacy Policy | Sitemap
Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Forum design by Tamuril © 2005.
Valid XHTML 1.0! Valid CSS!