Selecting data from mysql using qt?
-
[quote author="doforumda" date="1286880547"]how can i check that mysql logs and from where? [/quote]
Try to find them:
@find /opt/lampp -name log -type d@When you find the log directory, find a log for mysql and use tail utility:
@tail -f /path/to/mysql.log@
-
-
Don't bother with the log files, I guess Qt looks at the wrong place for the socket file...
Let's check this line in your mysql config file (my.cnf):
socket = /var/run/mysqld/mysqld.sock
You should find my.cnf in /etc/ or /etc/mysql/ ... I don't know ubuntu that much.
-
[quote author="¤ Dii ¤" date="1286881470"]
You should find my.cnf in /etc/ or /etc/mysql/ ... I don't know ubuntu that much.[/quote]I don't think that this config will be in /etc. He uses lampp - a preconfigured bundle. That config might be in /opt/lampp.