Difference between revisions of "Install wiki on win server"
Line 18: | Line 18: | ||
''if 'caching_sha2_password' error - then:'' | ''if 'caching_sha2_password' error - then:'' | ||
# C:\ProgramData\MySQL\MySQL Server 8.0\my.ini - update 'caching_sha2_password' to 'mysql_native_password' | # C:\ProgramData\MySQL\MySQL Server 8.0\my.ini - update 'caching_sha2_password' to 'mysql_native_password' | ||
− | and then login in mysql: | + | ''and then login in mysql:'' |
# mysql -uroot -pprosuite | # mysql -uroot -pprosuite | ||
# ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'prosuite'; | # ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'prosuite'; |
Revision as of 10:41, 27 February 2019
install:
- pyton need 2.7.xx 32bit version (python-2.7.12.msi)
- php from archive // latest php (64bit threads safe) (php-7.3.2-Win32-VC15-x64.zip)
- latest mysql (mysql-installer-community-8.0.11.0.msi)
Setup MySQL:
create: mysql -uroot -pprosuite CREATE DATABASE fieldprowiki;
backup: mysqldump.exe -uroot -pprosuite fieldprowiki > e:\fieldprowiki.sql
restore: mysql -uroot -pprosuite fieldprowiki < e:\fieldprowiki.sql
if 'caching_sha2_password' error - then:
- C:\ProgramData\MySQL\MySQL Server 8.0\my.ini - update 'caching_sha2_password' to 'mysql_native_password'
and then login in mysql:
- mysql -uroot -pprosuite
- ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'prosuite';