vatic icon indicating copy to clipboard operation
vatic copied to clipboard

Turkic setup error

Open athus1990 opened this issue 9 years ago • 1 comments

While installing,such that in 000-default file I have given
Local domain name being "athmuntu" DocumentRoot /var/www/vatic ScriptAlias /server /var/www/vatic/server.py AddHandler cgi-script .cgi .pl .py

And in config.py file: localhost = "http://athmuntu" # your local host database = "mysql://root:pass@athmuntu/vatic"

sudo turkic setup --database throws an error: Traceback (most recent call last): File "/usr/local/bin/turkic", line 5, in pkg_resources.run_script('turkic==0.2.5', 'turkic') File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script . . . . sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (2003, "Can't connect to MySQL server on 'athmuntu' (111)")

athus1990 avatar Jan 04 '16 23:01 athus1990

is "pass" actually what you set for the root database user? This is usually set during the mysql install.

Maybe also try

database = "mysql://root:pass@localhost/vatic"

?

I am new to database setup; take my response with a grain of salt!

drewm1980 avatar Feb 19 '16 14:02 drewm1980