The original RPints defaulted to root and uses a function call that is deprecated in PhP7 which is the default version for stretch.
you can modify install/includes/configprocessor.php and change "root" to your "RPints"
But even if you get past that most likely you will have more issues because the original doesn't like Stretch.
You can either downgrade to Jessie or use a different branch of RPints that works on Stretch.
Others have used my branch on stretch -
https://github.com/rtlindne/RaspberryPints
***
UPDATE2: So putting my 2nd update here at the top...may prevent you from reading my whole output. I found a post you made:
https://www.homebrewtalk.com/forum/...-taplist-solution.487694/page-91#post-8327283
When comparing the configprocessor.txt file you uploaded to the one I downloaded from your github link, I see it referencing $dbuser instead of "root" and $dbpass1 instead of $rootpass.
I don't know anything about MariaDB, but I can do the replace function in the configprocessor.php.
***
I went ahead and created a new user in MariaDB. That gave me the same error. I then replace "root" with "RPints" in configprocessor.php (there were 4 spots). After that I got a Fatal Error on line 178.
Here is my full process using the your modified 2.0.1 @
https://github.com/rtlindne/RaspberryPints
----app update/upgrade/installs----
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mysql-server
sudo apt-get install apache2
sudo apt-get install mysql-client
sudo apt-get install libapache2-mod-php7.0
sudo apt-get install php7.0-mysql
sudo apt-get install phpmyadmin
sudo apt-get install chromium-browser
sudo apt-get install git ttf-mscorefonts-installer x11-xserver-utils unclutter
sudo reboot
-----------------------------------
-----Disable Screen Blanking----
sudo nano /etc/xdg/lxsession/LXDE/autostart
#Added lines at bottom:
@xset s off
@xset -dpms
@xset s noblank
@chromium –kiosk localhost
sudo reboot
---------------------------------
----Download RaspberryPints-2.0.1----
https://github.com/rtlindne/RaspberryPints
-------------------------------------
----Prepare system for running RaspberryPints----
sudo rm /var/www/html/index.html
unzip Downloads/RaspberryPints-2.0.1.zip
sudo mv Downloads/RaspberryPints-2.0.1/* /var/www/html/
sudo chmod -R 777 /var/www/html
-------------------------------------------------
----Set root password for RPints setup-----
sudo passwd root
#entered a password for root
sudo reboot
-------------------------------------------
******Inital setup of RPints (in Chromium)******
When doing the intial setup stages for RPints, I clicked on submit and got:
Validating Entries....Success!
Checking DB Connectivity...
Warning: mysqli_connect(): (HY000/1698): Access denied for user 'root'@'localhost' in /var/www/html/install/includes/configprocessor.php on
line 52
Success!
Checking Config folder permissions...Success!
Cnanot connect the the database using the supplied information.
Please press the back button on your browser to fix these erorrs.
****************************************************
----Creating user in MariaDB/modify configprocessor.php----
sudo mysql
CREATE USER RPints@'%' IDENTIFIED BY 'RPints';
grant all privileges on *.* to RPints@'%';
exit
sudo nano /var/www/html/install/includes/configprocessor.php
#replace "root" with "RPints"
CTRL+\
"root"
"RPints"
y
y
y
y
CTRL+o
#press enter to save file
CTRL+x
-------------------------------------------
******Initial setup of RPints (in Chromium), 2nd try*******
After filling in the fields, using RPints as my password in Step 1, I get the following:
Validating Entries....Success!
Checking DB Connectivity...Success!
Checking config folder permissions...Success!
Update config files...Success!
Update admin config files....Success!
Creating RPints database user...Success!
Running Database Script..
Fatal error: Unaught Error: Call to undefined function mysql_connect() in /var/www/html/install/includes/configprocessor.php:178 Stack trace: #0{main} thrown in /var/www/html/install/includes/configprocessor.php on line 178
************************************************************