If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > What database table shall I use

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-21-08, 09:30
satimis satimis is offline
Registered User
 
Join Date: Jun 2006
Posts: 56
What database table shall I use

Hi folks,


Previously I ran;
Code:
mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON mail.* TO 'mail_admin'@'localhost' IDENTIFIED BY 'oldpassword';

Now I want to change its password with:
Code:
mysql> UPDATE mail.user SET password=PASSWORD('newpassword') WHERE user="'mail_admin'@'localhost'";

But I can't figure out which database OR database table I have to use.


If;
Code:
mysql> USE mail;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
Code:
mysql> UPDATE mail.user SET password=PASSWORD('newpassword') WHERE user="'mail_admin'@'localhost'";
ERROR 1146 (42S02): Table 'mail.user' doesn't exist
Error popup. Please help. TIA


B.R.
satimis
Reply With Quote
  #2 (permalink)  
Old 10-21-08, 09:44
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
if you are struggling setting permissions then Id suggest you try the MySQL adminisrator availbale form the MySQL website as part of the GUI Tools
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 10-21-08, 10:25
satimis satimis is offline
Registered User
 
Join Date: Jun 2006
Posts: 56
Quote:
Originally Posted by healdem
if you are struggling setting permissions then Id suggest you try the MySQL adminisrator availbale form the MySQL website as part of the GUI Tools
Hi healdem,


What I need is to change password, nothing else.


B.R.
satimis
Reply With Quote
  #4 (permalink)  
Old 10-21-08, 11:24
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
Quote:
Originally Posted by satimis
Hi healdem,


What I need is to change password, nothing else.


B.R.
satimis
ok
if you are struggling to set passwords and or permissions then Id suggest you try the MySQL adminisrator availbale form the MySQL website as part of the GUI Tools
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #5 (permalink)  
Old 11-01-08, 10:05
satimis satimis is offline
Registered User
 
Join Date: Jun 2006
Posts: 56
Quote:
Originally Posted by healdem
ok
if you are struggling to set passwords and or permissions then Id suggest you try the MySQL adminisrator availbale form the MySQL website as part of the GUI Tools
Noted with thanks


satimis
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On