Issues with database access with Open Source Social Network

March 1, 2019 1.7k views
LAMP Stack MySQL Databases Ubuntu 18.04

Normally I would be able to #cat /root/digitalocean_password to locate my password, but I am unable to under this one-click install. Instead, MYSQL doesn’t appear to be installed. Then after I install MYSQL or MariaDB from scratch, I am faced with an ‘incorrect password’ error, while creating a root password. Is there a default password?
The instructions directly included DO’s one-click OSSN package are unclear.

Am I the only one facing this issue, or am I not seeing something? Any help much appreciated.

1 comment
2 Answers

Hey friend,

When you visit the IP/URL in browser to set up the OSS application, it automatically fills out the database fields with the generated information for that initial setup. Once you’ve finished that setup process, the DB access information can be found at /var/www/html/configurations in ossn.config.db.php.

The first time you launched the server MySQL was not yet installed, but the site instructed you to reboot the server and wait a few minutes to check again. At that point it should have all been done. If you did not find yourself in this place, I would destroy and re-deploy the droplet.


Have another answer? Share your knowledge.