• Welcome to KonaKart Community Forum. Please login or sign up.
 

load db is not working

Started by sirth, March 19, 2014, 02:30:20 pm

Previous topic - Next topic

sirth

Hi,

I am trying to install konakart 7.2.0.0 on ubuntu and running
sudo ./KonaKart-7.2.0.0-Linux-Install-64 -S \
                  -DDatabaseType mysql \
                  -DDatabaseUrl jdbc:mysql://localhost:3306/konakart?zeroDateTimeBehavior=convertToNull \
                  -DDatabaseUsername konakart \
                  -DDatabasePassword konakart \
                  -DDatabaseDriver com.mysql.jdbc.Driver \
                  -DInstallationDir ~/konakart \
                  -DLoadDB 1 \
                  -DJavaJRE /usr/local/java/jdk1.7.0_51 \
                  -DPortNumber 8780 \
                  -DHTTPSPortNumber 8783


in "SetLocalConfigResult-mysql.log" gives me
QuoteWARN  (?:initTorque:?) Database Connection Test FAILED - (dbName = store1)


When I check the database, its empty. Why can't konakart connect to the mysql database?
Btw, the database is available - I can connect to it with mysql workbench.

Regards,
sirth

ming

I can't say... the fact that it tells you the DB connection test failed should give you a clue.

Is it blocked by a firewall perhaps?  Does the user have sufficient privileges?

Have you tried writing a tiny JDBC program to see if a java program can connect to the DB in that environment using those credentials?