Issues with database access with Open Source Social Network

Posted March 1, 2019 3.3k views
MySQLLAMP StackUbuntu 18.04Databases

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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.