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
3182
February 06, 2006 09:47AM
1613
February 06, 2006 11:39AM
1851
February 06, 2006 12:15PM
1778
February 07, 2006 09:21AM
1719
February 07, 2006 10:32AM
1703
February 07, 2006 10:36AM
1662
February 08, 2006 02:04AM
1710
February 10, 2006 03:43AM
1783
February 12, 2006 01:08PM
1938
February 15, 2006 06:47AM
Re: how to - new user...
1674
February 15, 2006 07:09AM
1539
February 15, 2006 07:24AM
1660
February 15, 2006 07:48AM
1723
February 15, 2006 07:49AM
1594
February 15, 2006 08:02AM
1600
February 15, 2006 09:11AM
1802
March 07, 2006 11:34AM
1796
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.