Difference between revisions of "Install wiki on win server"

From MPSWiki
Jump to: navigation, search
Line 16: Line 16:
  
 
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:40, 27 February 2019

install:

  1. pyton need 2.7.xx 32bit version (python-2.7.12.msi)
  2. php from archive // latest php (64bit threads safe) (php-7.3.2-Win32-VC15-x64.zip)
  3. latest mysql (mysql-installer-community-8.0.11.0.msi)

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:

  1. C:\ProgramData\MySQL\MySQL Server 8.0\my.ini - update 'caching_sha2_password' to 'mysql_native_password'

and then login in mysql:

  1. mysql -uroot -pprosuite
  2. ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'prosuite';