Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

database connection (no replies)

$
0
0
I have a suse linux server with several mysql instances. In order to connect to a mysql instance on the shell I have to use for instance the following command:

mysql -u piwik -p -P 3307 -h 127.0.0.1 --socket=/tmp/mysql.sock2


Piwik is installed on the same server. Does anyone know how to configure this mysql instance in the config.ini.php? When I enter

[database]
host = "127.0.0.1"
username = "piwik"
password = "xxxxxxxxx"
dbname = "piwik"
port = "3307"
tables_prefix = "piwik_"
charset = "utf8"


I get the following error at the piwik web-login:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'piwik.piwik_option' doesn't exist

However, the Table piwik.option exists in piwik database.


Thank you for your help!

Viewing all articles
Browse latest Browse all 4243

Trending Articles