Страница 1 из 1

Первый запуск на Windows10

Добавлено: Сб дек 01, 2018 9:24 pm
ovit
Доброго всем времени суток. Сразу оговорюсь - я не специалист.
При первой попытке запуска 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.
Куда копать, подскажите, пожалуйста.

Re: Первый запуск на Windows10

Добавлено: Сб дек 01, 2018 10:51 pm
tarasfrompir
ovit писал(а):
Сб дек 01, 2018 9:24 pm
В phpadmin имеется три базы - information_schema, mysql, wp.
Куда копать, подскажите, пожалуйста.
у тебя должна еще быть одна база - переустанови по новой но от имени администратора...

Re: Первый запуск на Windows10

Добавлено: Вс дек 02, 2018 12:23 pm
ovit
Переустановил от имени администратора. Без изменений. Может есть возможность "вручную" базу установить?

Re: Первый запуск на Windows10

Добавлено: Вс дек 02, 2018 12:35 pm
tarasfrompir
для установки базы надо скачать файл - https://github.com/tarasfrompir/majordo ... rminal.sql
и сделать импорт его через пхпмайадмин