'Create database to access small project inside wordpress from cyber panel
I had setup wordpress project in main url : www.example.com with help of cyber panel in aws-ec2 free hosting.
I had domain and setup wordpress via cyber panel.
Now, I want to setup small php project inside this like: www.example.com/mysmallproject
I had create folder : mysmallproject and add all files. its working well. I can access php file via browser.
ISSUE : I had created database via cyberpanel and assign domain. 
It has username and password.
NOW, I need to access database. it requires username, password and database name and server name.
I have username, password, database name. But i dont know "SERVERNAME". I tried to get servername from my wordpress configuration file but its not working. Any suggestion will be appriciated. Thanks
Solution 1:[1]
The server name is your EC2 IP address or you can use "localhost".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Prasanth Jayakumar |
