UniTime / unitime

Comprehensive University Timetabling System
http://www.unitime.org
Apache License 2.0
282 stars 162 forks source link

UniTime 4.4.130 failed to start up properly, please check the application log for more details. #53

Closed tulakov77 closed 5 years ago

tulakov77 commented 5 years ago

image

tomas-muller commented 5 years ago

The problem is that UniTime is not able to connect to the database:

java.sql.SQLException: Access denied for user 'timetable'@'localhost' (using password: YES)

Was the user timetable created? Was there any error/message printed during the creation of the timetable database (execution of file schema.sql)? Are you using the default password (unitime)?

You can verify some of that by checking the content of table mysql.user (there should be a line with user=timetable). You can also try to connect to the database as timetable user using mysql tool with the following options (also trying to use the same port and protocol as the UniTime application):

mysql --user=timetable --password=unitime --port=3306 --host=localhost --protocol=TCP timetable

If you are able to connect to mysql with mysql -utimetable -punitime timetable but not with mysql --user=timetable --password=unitime --port=3306 --host=localhost --protocol=TCP timetable, the problem could be that TCP/IP networking is disabled.