Evolution #6679
Updated by Etienne Pallier almost 6 years ago
(EP 5/2/19) bugfix install.py ne marche pas avec mysql 5.5 sur linux (hyp2) :
-----------------------------Launching mysql to create database and create and grant user pyros-----------------------------
MySQL version is 5.5
-----------------------------Please enter your MYSQL root password-----------------------------
Enter password:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF NOT EXISTS pyros' at line 1
Traceback (most recent call last):
File "install.py", line 364, in <module>
if INSTALL_DB: install_database(VENV)
File "install.py", line 314, in install_database
stderr.write(Colors.ERROR + "ERROR !: db configuration failed !" + Colors.END + "\r\n")
NameError: name 'stderr' is not defined
--------------------------------------Process execution failed--------------------------------------
-----------------------------Launching mysql to create database and create and grant user pyros-----------------------------
MySQL version is 5.5
-----------------------------Please enter your MYSQL root password-----------------------------
Enter password:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF NOT EXISTS pyros' at line 1
Traceback (most recent call last):
File "install.py", line 364, in <module>
if INSTALL_DB: install_database(VENV)
File "install.py", line 314, in install_database
stderr.write(Colors.ERROR + "ERROR !: db configuration failed !" + Colors.END + "\r\n")
NameError: name 'stderr' is not defined
--------------------------------------Process execution failed--------------------------------------