Results 1 to 7 of 7

Thread: MySql User Table

  1. #1
    brAddict is offline x10Hosting Member
    Join Date
    Aug 2007
    Posts
    13

    MySql User Table

    Hi,

    I would like to know if it's possible to get access to the user table in MySql with SQL queries instead of using CPanel.

    Thanks !

    Antony

  2. #2
    Coonz is offline x10 Sophmore
    Join Date
    Aug 2007
    Posts
    132

    Re: MySql User Table

    are you talking about like editing the data without going through cpanel?

  3. #3
    brAddict is offline x10Hosting Member
    Join Date
    Aug 2007
    Posts
    13

    Re: MySql User Table

    Not editing data but I would like to see if I can add fields in this table, like a field for the name of the person instead of only the user login. I'd also like to know whats the primary key on this table, is it the user login?

  4. #4
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,612

    Re: MySql User Table

    Those are protected, you shouldn't need access to them for any reason.
    Thanks,
    Brandon Long | brandon[@]brandonlong[.]me

  5. #5
    brAddict is offline x10Hosting Member
    Join Date
    Aug 2007
    Posts
    13

    Re: MySql User Table

    Alright, then. This is what I'm trying to do. I'm having a website where user can rate certain kind of products. I need them to login so that they can add their comments. I'd like to store their real names somewhere so I wanted to access the user table to store them there. Now its obvious that this won't work. Do you have any idea on how I could do that ?

  6. #6
    The_Magistrate's Avatar
    The_Magistrate is offline x10 Elder
    Join Date
    May 2005
    Location
    PA
    Posts
    559

    Re: MySql User Table

    Yeah, you use MySQL for what it was designed to do and make your own database with usernames, passwords, full names and keys. You don't have to expose the core MySQL database to make something like what you want to do.

    If you're knowledgeable enough to know how to add/update users using SQL, you should know that you can just create your own table to do the same thing.
    Getting Started | Terms of Service | Paid Hosting | Forum Rules | Free Server Status | Banned Countries

    If I have helped you through one of my posts, please click the
    blue checkbox on the right below my avatar to add to my reputation.

  7. #7
    brAddict is offline x10Hosting Member
    Join Date
    Aug 2007
    Posts
    13

    Re: MySql User Table

    Alright, I'll check that out ! Thanks !

Similar Threads

  1. [PHP] MySQL and PHP
    By Bryon in forum Tutorials
    Replies: 45
    Last Post: 02-09-2013, 09:45 PM
  2. Have a problem with my forum
    By tikloos in forum Scripts, 3rd Party Apps, and Programming
    Replies: 43
    Last Post: 01-19-2006, 01:14 AM
  3. Table inside table
    By wizeman in forum Tutorials
    Replies: 4
    Last Post: 07-11-2005, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
dedicated servers