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

Piwik 2.0 installation error [SQLSTATE[HY000] [2002] (no replies)

$
0
0
Hi!

I'm trying to install the new Piwik release (2.0) to my server (a fresh installation, without any other software), but I'm facing a weird error. If follow all the installation steps, once I reach the last step it shows me this error:

Quote

Your Piwik configuration file appears to be misconfigured. You can either remove config/config.ini.php and resume installation, or correct the database connection settings.

SQLSTATE[HY000] [2002] No such file or directory
Refresh the page »

If I delete config.ini.php (as it recommends), then the install process starts again with the same error in the last step.

It doesn't change if I choose MySQLI or PDO in the database configuration step: it creates the database and the tables, but I get the error again and again.

If I check the php errors, it shows me
Quote

[18-Dec-2013 15:43:24 UTC] PHP Notice: Uninitialized string offset: 0 in .../htdocs/core/Tracker/Db/Pdo/Mysql.php on line 47

A little note about this error: it always appears, althought I choose PDO or MYSQLI

Here you have the config.ini.php once the error is shown:

Quote

cristian@teststacks-linux64:~/lampstack-5.4.23-0/apps/piwik/config$ cat config.ini.php
; <?php exit; ?> DO NOT REMOVE THIS LINE
; file automatically generated or modified by Piwik; you can manually override the default values in global.ini.php by redefining them in this file.
[PluginsInstalled]
PluginsInstalled[] = "Login"
PluginsInstalled[] = "CoreAdminHome"
PluginsInstalled[] = "UsersManager"
PluginsInstalled[] = "SitesManager"
PluginsInstalled[] = "Installation"
PluginsInstalled[] = "CoreUpdater"
PluginsInstalled[] = "ScheduledReports"
PluginsInstalled[] = "UserCountryMap"
PluginsInstalled[] = "Live"
PluginsInstalled[] = "CustomVariables"
PluginsInstalled[] = "PrivacyManager"
PluginsInstalled[] = "ImageGraph"
PluginsInstalled[] = "DoNotTrack"
PluginsInstalled[] = "Annotations"
PluginsInstalled[] = "Overlay"
PluginsInstalled[] = "SegmentEditor"
PluginsInstalled[] = "Zeitgeist"

[Plugins_Tracker]
Plugins_Tracker[] = "Provider"
Plugins_Tracker[] = "Goals"
Plugins_Tracker[] = "DoNotTrack"
Plugins_Tracker[] = "UserCountry"
Plugins_Tracker[] = "UsersManager"
Plugins_Tracker[] = "SitesManager"

Some info about my environment:
Apache
Quote
Apache
Server version: Apache/2.4.7 (Unix)
Server built: Dec 12 2013 16:18:04
Server's Module Magic Number: 20120211:27
Server loaded: APR 1.5.0, APR-UTIL 1.5.3
Compiled using: APR 1.5.0, APR-UTIL 1.5.3
Architecture: 64-bit
Quote
MySQL
Server version: 5.5.34 MySQL Community Server (GPL)
Quote
PHP
PHP 5.4.23 (cli) (built: Dec 12 2013 16:58:52)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Quote
OS
Linux teststacks-linux64 3.5.0-44-generic #67~precise1-Ubuntu SMP Wed Nov 13 16:16:57 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Any ideas?

Best regards and thank you!

Viewing all articles
Browse latest Browse all 4243

Trending Articles