MySQL Forums
Forum List  »  NDB clusters

Re: how to - new user...
Posted by: Mikael Ronström
Date: February 15, 2006 07:09AM

Hi,

Peter Schulz wrote:
> hmm that means - if i run out of my limitations i
> have to
> *run backup
> *shutdown
> *reconfigure
> *start with initial
> ?
>


All of these config changes is safe to perform as rolling
upgrades. Thus cluster can remain on-line and one data node restarted at a time.

Rgrds Mikael

> how to set up a user to get access on one db - i
> wanted to create a user "xyz" , but when i create
> it on each mysqlapi node i don't get access to my
> ndbcluster tables/dbs - how can i solve this?
>
> i created with queriing each node with this:
>
> DROP USER 'mynewuser'@ '%';
> CREATE USER 'mynewuser'@ '%' IDENTIFIED BY
> '*********'
> GRANT USAGE ON * . * TO 'mynewuser'@ '%'
> IDENTIFIED BY '**********' WITH
> MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0
> MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
> FLUSH PRIVILEGES
> GRANT SELECT , INSERT , UPDATE , DELETE ON `mydb`
> . * TO 'mynewuser'@'';
> FLUSH PRIVILEGES
>
>
> what fails? i can connect with this user but get
> no access to the databases :( any idea?
> _pete®

Mikael Ronstrom
Senior Software Architect, MySQL AB
My blog: http://mikaelronstrom.blogspot.com

Options: Reply• Quote


Subject
Views
Written By
Posted
3235
February 06, 2006 09:47AM
1646
February 06, 2006 11:39AM
1886
February 06, 2006 12:15PM
1808
February 07, 2006 09:21AM
1762
February 07, 2006 10:32AM
1735
February 07, 2006 10:36AM
1705
February 08, 2006 02:04AM
1733
February 10, 2006 03:43AM
1816
February 12, 2006 01:08PM
1973
February 15, 2006 06:47AM
Re: how to - new user...
1696
February 15, 2006 07:09AM
1562
February 15, 2006 07:24AM
1692
February 15, 2006 07:48AM
1762
February 15, 2006 07:49AM
1613
February 15, 2006 08:02AM
1621
February 15, 2006 09:11AM
1836
March 07, 2006 11:34AM
1825
March 07, 2006 11:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.