Hi,
I'm trying to work with the Joyent SmartOS image that comes bundled with
Mysql Cluster. Firstly trying to get the basic mysqld working, I could start
mysql, but then couldn't log in.
According to the documentation, I need to set the password while
provisioning, so I have included this in the json:
"customer_metadata": {
"mysql_password": "xxxxxx"
},
Which I verified using vmadm get $uuid
But when I login to the instance and try to access mysql using
[root@e3f9cb38-6af7-4f1d-b719-c414ebedb0b0 ~]# mysql -uroot -p$(mdata-get
mysql_pw)
No metadata for 'mysql_pw'
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)
How can I get round this. Can't even stop the DB now.
Thanks,
Gavin
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com