I want to experiment with Wordpress, so it seemed a good idea to set up a local copy. Or maybe not. :-) I started following the guide http://www.if- not-true-then-false.com/2010/install-wordpress-on-fedora-centos-red-hat-rhel/ - until I got to step 3 - connect to mysql as root. How do you do that when you haven't set up passwords? I must be missing something really obvious, but I'm absolutely stuck. Can someone kick me in the right direction please?
Anne
On 05/17/2011 07:32 PM, Anne Wilson wrote:
I want to experiment with Wordpress, so it seemed a good idea to set up a local copy. Or maybe not. :-) I started following the guide http://www.if- not-true-then-false.com/2010/install-wordpress-on-fedora-centos-red-hat-rhel/
- until I got to step 3 - connect to mysql as root. How do you do that when
you haven't set up passwords? I must be missing something really obvious, but I'm absolutely stuck. Can someone kick me in the right direction please?
By default MySQL root password is empty;
You can change it by running:
mysqladmin -u root password $MY_NEW_PASSWORD
or
mysql_secure_installation
PS. This is Fedora/KDE specific list, for general question you should use users list instead:
https://admin.fedoraproject.org/mailman/listinfo/users
On Tuesday 17 May 2011 19:51:33 Athmane Madjoudj wrote:
On 05/17/2011 07:32 PM, Anne Wilson wrote:
I want to experiment with Wordpress, so it seemed a good idea to set up a local copy. Or maybe not. :-) I started following the guide http://www.if- not-true-then-false.com/2010/install-wordpress-on-fedora-centos-red-hat- rhel/ - until I got to step 3 - connect to mysql as root. How do you do that when you haven't set up passwords? I must be missing something really obvious, but I'm absolutely stuck. Can someone kick me in the right direction please?
By default MySQL root password is empty;
You can change it by running:
mysqladmin -u root password $MY_NEW_PASSWORD
or
mysql_secure_installation
Thank you.
PS. This is Fedora/KDE specific list, for general question you should use users list instead:
Yes, I am subscribed. My mistake - apologies
Anne