Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi,
I created a new droplet but same issue has occurred with my original droplet. Created lamp phpmyadmin sshless install.
connected to my page and changed the default index.html to index.php
Found my mySQL admin user + password and wrote the following script:
<?php $hostname = “p:127.0.0.1:3306”; $username = “admin”; $password = “xxxxxxxx”; $conn = mysqli_connect($hostname, $username, $password) OR DIE (“Unable to connect to database!”); ?>
and I am unable to connect to mySQL using mysqli_connect.
Tried with app and root as well , same results. with a different droplet I created a new user. New user managed to get connected using mysql workbench but still no results mysqli_connect.
This is the last hurdle for me to move all my stuff to Digital Ocean. I need to be able to connect my code to mt database.
What am I doing wrong?
jeffs
0621335d663b4b699a60eb27e28153
accesstrax
Dwight Trumbower
admin
yimprogramming
samunyi90
1d6ce141ab5444dfb1ea2dd29cf4b1
Matt Fricker
joel9b158e40551b15093f213f
EmilJacobs