473,762 Members | 8,011 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GRANT ALL PRIVILEGES ON db.* .....

mysql Ver 3.23.54

Having read, as best I could, the docs at http://www.mysql.com/documentation ...,

on host (Linux from scratch, kernel 2.4.20) "mysql.here.com " I enter:

mysql> GRANT ALL PRIVILEGES ON db.* TO root@'max.here. com';
Query OK, 0 rows affected (0.00 sec)

but ...

[ro**@max.here.c om]# mysql -h mysql.here.com -u root -pmypass
ERROR 1045: Access denied for user: 'ro**@max.here. com' (Using password: YES)

"netstat -lt" on mysql.here.com shows the socket is listening okay.

tcp 0 0 *:mysql *:* LISTEN

Any ideas?

Max
Jul 19 '05 #1
6 129867
BDR
Stop, and Restart MySQL

maxwell wrote:
mysql Ver 3.23.54

Having read, as best I could, the docs at http://www.mysql.com/documentation ...,

on host (Linux from scratch, kernel 2.4.20) "mysql.here.com " I enter:

mysql> GRANT ALL PRIVILEGES ON db.* TO root@'max.here. com';
Query OK, 0 rows affected (0.00 sec)

but ...

[ro**@max.here.c om]# mysql -h mysql.here.com -u root -pmypass
ERROR 1045: Access denied for user: 'ro**@max.here. com' (Using password: YES)

"netstat -lt" on mysql.here.com shows the socket is listening okay.

tcp 0 0 *:mysql *:* LISTEN

Any ideas?

Max


Jul 19 '05 #2
BDR
Stop, and Restart MySQL

maxwell wrote:
mysql Ver 3.23.54

Having read, as best I could, the docs at http://www.mysql.com/documentation ...,

on host (Linux from scratch, kernel 2.4.20) "mysql.here.com " I enter:

mysql> GRANT ALL PRIVILEGES ON db.* TO root@'max.here. com';
Query OK, 0 rows affected (0.00 sec)

but ...

[ro**@max.here.c om]# mysql -h mysql.here.com -u root -pmypass
ERROR 1045: Access denied for user: 'ro**@max.here. com' (Using password: YES)

"netstat -lt" on mysql.here.com shows the socket is listening okay.

tcp 0 0 *:mysql *:* LISTEN

Any ideas?

Max


Jul 19 '05 #3
BDR <jo*@noemail.co m> wrote in message news:<iO******* **********@bign ews4.bellsouth. net>...
Stop, and Restart MySQL

maxwell wrote:
mysql Ver 3.23.54

Having read, as best I could, the docs at http://www.mysql.com/documentation ...,

on host (Linux from scratch, kernel 2.4.20) "mysql.here.com " I enter:

mysql> GRANT ALL PRIVILEGES ON db.* TO root@'max.here. com';
Query OK, 0 rows affected (0.00 sec)

but ...

[ro**@max.here.c om]# mysql -h mysql.here.com -u root -pmypass
ERROR 1045: Access denied for user: 'ro**@max.here. com' (Using password: YES)

"netstat -lt" on mysql.here.com shows the socket is listening okay.

tcp 0 0 *:mysql *:* LISTEN

Any ideas?

Max


If you can restart the server, go ahead and your GRANT will be
effected. Otherwise, a FLUSH PRIVILEGES will do the job. Please check
the FLUSH syntax for options.

regards
akr
Jul 19 '05 #4
BDR <jo*@noemail.co m> wrote in message news:<iO******* **********@bign ews4.bellsouth. net>...
Stop, and Restart MySQL

maxwell wrote:
mysql Ver 3.23.54

Having read, as best I could, the docs at http://www.mysql.com/documentation ...,

on host (Linux from scratch, kernel 2.4.20) "mysql.here.com " I enter:

mysql> GRANT ALL PRIVILEGES ON db.* TO root@'max.here. com';
Query OK, 0 rows affected (0.00 sec)

but ...

[ro**@max.here.c om]# mysql -h mysql.here.com -u root -pmypass
ERROR 1045: Access denied for user: 'ro**@max.here. com' (Using password: YES)

"netstat -lt" on mysql.here.com shows the socket is listening okay.

tcp 0 0 *:mysql *:* LISTEN

Any ideas?

Max


If you can restart the server, go ahead and your GRANT will be
effected. Otherwise, a FLUSH PRIVILEGES will do the job. Please check
the FLUSH syntax for options.

regards
akr
Jul 19 '05 #5
In article <28************ *************@p osting.google.c om>, maxborn555
@yahoo.com says...
mysql> GRANT ALL PRIVILEGES ON db.* TO root@'max.here. com';
Query OK, 0 rows affected (0.00 sec)

but ...

[ro**@max.here.c om]# mysql -h mysql.here.com -u root -pmypass
ERROR 1045: Access denied for user: 'ro**@max.here. com' (Using password: YES)

"netstat -lt" on mysql.here.com shows the socket is listening okay.

tcp 0 0 *:mysql *:* LISTEN

Any ideas?

Max


Shouldn't that have been?

mysql> GRANT ALL PRIVILEGES ON db.* TO root@'max.here. com' IDENTIFIED BY
'mypass';

It's either missing a password or you needed to do FLUSH PRIVILEGES;
Jul 19 '05 #6
In article <28************ *************@p osting.google.c om>, maxborn555
@yahoo.com says...
mysql> GRANT ALL PRIVILEGES ON db.* TO root@'max.here. com';
Query OK, 0 rows affected (0.00 sec)

but ...

[ro**@max.here.c om]# mysql -h mysql.here.com -u root -pmypass
ERROR 1045: Access denied for user: 'ro**@max.here. com' (Using password: YES)

"netstat -lt" on mysql.here.com shows the socket is listening okay.

tcp 0 0 *:mysql *:* LISTEN

Any ideas?

Max


Shouldn't that have been?

mysql> GRANT ALL PRIVILEGES ON db.* TO root@'max.here. com' IDENTIFIED BY
'mypass';

It's either missing a password or you needed to do FLUSH PRIVILEGES;
Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
3924
by: | last post by:
I issued the mysql command Grant all on *.* to myid@localhost identified as "mypw"; and recieved the error message ERROR 1045: Access denied for user" '@localhost' (Using password: NO) I am running mysql on my own machine which is not networked.
3
2723
by: Marc | last post by:
Hello, I have 3 users in my MySQL server. One of them has Grant access (actually: all privileges). I cannot login as this user using phpMyAdmin - my password is not accepted (though I' m sure it must be the right one). I CAN login as any of the other users. When I do this and choose 'privileges' I get the overview: User - Host - Password - Global Privileges - Grant - Action I can see the user with all privileges, but the cell under...
0
10585
by: Charles Cantrell | last post by:
I have recently set up mySQL on a Mandrake release of Linux (Version 7 of Mandrake, I believe), using the binary 4.0.13 standard release. The set up and start up all were normal, as far as I could tell, with no warnings or error messages. In nearly all respects, the database appears to be running as expected. I have the book "PHP and mySQL Web Development" by Luke Welling and Laura Thomson, and have been working through the examples...
0
2025
by: Charles Cantrell | last post by:
I have recently set up mySQL on a Mandrake release of Linux (Version 7 of Mandrake, I believe), using the binary 4.0.13 standard release. The set up and start up all were normal, as far as I could tell, with no warnings or error messages. In nearly all respects, the database appears to be running as expected. I have the book "PHP and mySQL Web Development" by Luke Welling and Laura Thomson, and have been working through the examples...
0
1993
by: Marc | last post by:
Hello, I have 3 users in my MySQL server. One of them has Grant access (actually: all privileges). I cannot login as this user using phpMyAdmin - my password is not accepted (though I' m sure it must be the right one). I CAN login as any of the other users. When I do this and choose 'privileges' I get the overview: User - Host - Password - Global Privileges - Grant - Action I can see the user with all privileges, but the cell under...
8
2530
by: binary-nomad | last post by:
How do I make a table with fields again, say, name, age, address, wife etc. that I want people to be able to look at (with any client like MysqlCC etc), but only be able to modify certain fields, eg. wife (this includes deleting the field from the database, maybe) - the name, age etc. must be left intact, ie. not changeable by anyone. Thanks.
1
1391
by: tabai | last post by:
Hi. I'm trying the database privileges, I create diferent users in my database server. Use A and user B in two diferents groups (GA and GB), I create a database (DBA) with user A, and grant privileges to group GA, i create a shema and grant privileges to GA and create same tables too. If i conect to a database with user B, i can see the shema name and the table names, of course i can't see the data on tables, create...
7
3186
by: Oracle10 | last post by:
Hi all, I have created a user and I want that all the privileges(select,update,insert,delete etc) should be automatically granted to this newly created user.Please anybody can tell me how can I do that? Thanks in Advance...
1
5503
by: mehtab | last post by:
How to grant privileges to a mysql user by using php. If any one have knowledge about the privileges then please help me! Thank Best regard
2
2792
nomad
by: nomad | last post by:
Hello Everyone. I need some help in create Privileges for a new db. I'm using a host call addr.com and I hate them for there cpanel sucks. any I hav to write a MySQL to Grant All Privileges for a user to use a db. Here is my code GRANT ALL on allyson.blog //allyson is the db and blog is the table TO nomad@adc.com // trying to make a new user IDENTIFIED BY "12345";
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10137
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9812
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8814
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7360
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3914
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3510
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.