کد:[root@server custombuild]# mysql -uroot -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- - - Updated - - -
فایل mysql.conf رو پاک کردم الان در بخش دیتابیس دایرکت این پیام اومده :
به آدرسی که داده میرم، دستورات رو میزنم ولی خطا میاد :
کد:Unable to read /usr/local/directadmin/conf/mysql.conf : Unable to open /usr/local/directadmin/conf/mysql.conf for reading. No such file or directory Error connecting to MySQL: Access denied for user 'nobody'@'localhost' (using password: NO) Repair guide: http://help.directadmin.com/item.php?id=45 Cannot find passwd value from the mysql.conf. Ensure it's present, and each line ends with a newline character. Check the file: /usr/local/directadmin/conf/mysql.conf
کد:[root@server ~]# use mysql -bash: use: command not found [root@server ~]# UPDATE mysql.user SET password=PASSWORD('db6R1R48cZ23P') WHERE user='root'; -bash: syntax error near unexpected token `(' [root@server ~]# FLUSH PRIVILEGES; -bash: FLUSH: command not found [root@server ~]# UPDATE mysql.user SET password=PASSWORD('db6R1R48cZ23P') WHERE user='root' -bash: syntax error near unexpected token `(' [root@server ~]#
- - - Updated - - -
این یعنی چی ؟؟
- - - Updated - - -
وردپرس بدون اشکال کار می کنه ولی این اسکریپت اینطوری شده
جدای از اینها نمی دونم چرا دسترسی روت با اینکه پسورد رو میزنم میگه اشتباهه