Portál AbcLinuxu, 12. května 2025 16:54
Could not connect: 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
Vím co to znamená, potřebuji jen poradit, jak mohu změnit hesla zakódována jako old_password (delka 16 znaků) na nový systém hesel (delka 41) znaků.
K dispozici mám pouze tabulku mysql.user kde jsou hesla např.:
565491d704013245
a potřebuji poradit jak z toho udělám heslo:
6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9
Děkuji
Řešení dotazu:
'mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication'a hned jsem dostal řešení. Zkusíš to také?
mysql_connect
.
mysql_connect
pro připojení k MySQL nepoužívám.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.