Changes

Jump to navigation Jump to search
Navigate a browser to http://128.42.44.22/analytics and go through the Piwik installation. Make sure you fix everything on the "System Checks" page.
 
When you get to the Database Setup page, you'll need to configure a MySQL database for Piwik. If you followed the steps for configuring a WordPress database, the steps are almost identical.
 
Configure a database for Piwik (can be called something other than piwik) and make a new MySQL user (can be called something other than mcnair_piwik) that has all permissions for the piwik database. Obviously, you should replace a_secure_password with an actual password for the user (but leave the quotes around the password when typing the MySQL command). FLUSH PRIVILEGES reloads the permissions tables.
$ mysql -u root -p
Enter password:
mysql> CREATE DATABASE piwik;
mysql> GRANT ALL PRIVILEGES ON piwik.* TO "mcnair_piwik"@"localhost" IDENTIFIED BY "password";
mysql> FLUSH PRIVILEGES;
mysql> EXIT
 
You can verify that the piwik database and user were created correctly by logging into the mysql client commandline interface using the new user:
 
$ mysql -u mcnair_piwik -p
Enter password:
 
mysql> SHOW DATABASES;
mysql> USE piwik;
mysql> EXIT
Installing the Piwik Integration extension for Mediawiki:
Anonymous user

Navigation menu