Hi,
I searched this all day long and I couldn’t find anything on phpmyadmin or webmin.
I’m searching;
$dbhost = “”; $dbuser = “”; $dbpass = “”; $dbname = “t”; $display_errors = false;
these informations.
I’m new on vps so please help me.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
If you installed phpmyadmin using apt-get then your mySQL Server should be installed with the user root and no password.
If you installed manually by downloading the phpmyadmin files and installed on a web server you will need to install mySQL.
apt-get install mysql-server
then run
/etc/init.d/mysql start
this will start your mySQL Server. Your connection details will be
User : root Password : <blank> Hostname: localhost Port : 3306
You can create a database by running
mysqladmin create <dbname>
Once you have done this your config should look like this
$dbhost = “localhost”; $dbuser = “root”; $dbpass = “”; $dbname = “<dbname from above>”; $display_errors = false;
I highly recommend you set a root password on mySQL however and never run queries as root unless creating new databases or adding users.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.