Beranda » Slack|Ware » ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

Start here

satu kata untuk kalian kawan yaitu LAWAN (revolusi)
setelah melihat error yg begitu indah dan sangat mengambil waktu mari satukan barisan untuk melawan error tersebut
dengan bertanya ke paman https://google.com/
let’s go

root@slackers:# mysql -u root -p
Enter password
ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)😦😦

pastikan mysql anda dalam keadaan is dead (not running)

root@slackers:# sh /etc/rc.d/rc.mysql stop
Shutting down MySQL. SUCCESS!
root@slackers:# mysqld_safe –skip-grant-tables &
[1] 3409
root@slackers:# 120402 07:07:31 mysqld_safe Logging to ‘/var/lib/mysql/vim-n4n0.err’.
120402 07:07:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

and then
root@slackers:# mysql
mysql>

ok yes i can

root@slackers:# chown -R mysql:mysql /var/lib/mysql
root@slackers:# cp /usr/share/mysql/mysql.server /etc/rc.d/rc.mysql
root@slackers:# chmod 755 /etc/rc.d/rc.mysql
root@slackers:# /etc/rc.d/rc.mysql start
Starting MySQL SUCCESS!
root@slackers:# mysql_secure_installation

okay just u would chose yes or not configurations

goodluck buddy


Tinggalkan Balasan

Please log in using one of these methods to post your comment:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s