Первый запуск на Windows10
Добавлено: Сб дек 01, 2018 9:24 pm
Доброго всем времени суток. Сразу оговорюсь - я не специалист.
При первой попытке запуска Majordomo выдало сообщение:
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 134 Can't connect to database (1045: Access denied for user 'root'@'localhost' (using password: NO))
Где-то попалось, что в файле config.php в строке Define('DB_PASSWORD', '') нужно задать пароль 'rootpsw'
Задал. Строка получилась такая: Define('DB_PASSWORD', 'rootpsw');
Сейчас выдает такое сообщение:
Warning: mysqli_connect(): (HY000/2000): mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file in C:\_majordomo\htdocs\lib\mysqli.class.php on line 134 Can't connect to database (2000: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file)
Упомянутого файла my.cnf, также как и my.ini на компе не нашел.
В SQL через phpadmin входит через admi/admin. Пробовал войти как root c пустым паролем и с паролем 'rootpsw' - не подключается с ошибкой #1045.
В phpadmin имеется три базы - information_schema, mysql, wp.
Куда копать, подскажите, пожалуйста.
При первой попытке запуска Majordomo выдало сообщение:
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in C:\_majordomo\htdocs\lib\mysqli.class.php on line 134 Can't connect to database (1045: Access denied for user 'root'@'localhost' (using password: NO))
Где-то попалось, что в файле config.php в строке Define('DB_PASSWORD', '') нужно задать пароль 'rootpsw'
Задал. Строка получилась такая: Define('DB_PASSWORD', 'rootpsw');
Сейчас выдает такое сообщение:
Warning: mysqli_connect(): (HY000/2000): mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file in C:\_majordomo\htdocs\lib\mysqli.class.php on line 134 Can't connect to database (2000: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file)
Упомянутого файла my.cnf, также как и my.ini на компе не нашел.
В SQL через phpadmin входит через admi/admin. Пробовал войти как root c пустым паролем и с паролем 'rootpsw' - не подключается с ошибкой #1045.
В phpadmin имеется три базы - information_schema, mysql, wp.
Куда копать, подскажите, пожалуйста.