LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mysqladmin root user setup isn't working - [using mysql 5.1] on Chrunchbang 11 (https://www.linuxquestions.org/questions/linux-newbie-8/mysqladmin-root-user-setup-isnt-working-%5Busing-mysql-5-1%5D-on-chrunchbang-11-a-4175448409/)

charging-ibis 02-02-2013 08:24 PM

mysqladmin root user setup isn't working - [using mysql 5.1] on Chrunchbang 11
 
Hello I am installing a MySQL I am currently using Chrunchbang 11 "Waldorf". The verson of mySQL i am using is 5.1.

I first installed both mysql packages:
Code:

sudo apt-get install mysql-server-5.1 mysql-client-5.1
Then after installing both client && server, I next whent ahead and ran:
Code:

sudo mysql_install_db
Now here is where the issue arrise. when I set up root user for MySQL:
Code:

cbattle4654@Kujaku-Ou:~$ sudo mysqladmin -u root password '01Arcanedb'
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

Now I know I can't go any further than this. Is there a certain script that I need to configure? I have the mysqld running, I even restarted the deamon to make sure that it needed to be restarted berore I can set up a root user for MySQL. Is there a step I could be missing? Could someone point me in the right direction please?

~ Thanks.

ChooseLife 02-03-2013 03:19 AM

Answered in your other thread.


All times are GMT -5. The time now is 06:28 AM.