Answers for "flutter connect mysql mysql1 package"

0

flutter connect to mysql server

<?php
$dns = ‘mysql:host=localhost;dbname=enter-database-name’;
$user = ‘enter-username’;
$password = ‘enter_the_password_of_your_database’;
try{
 $db = new PDO ($dns, $user, $pass);
}catch( PDOException $e){
 $error = $e->getMessage();
 echo $error;
}
Posted by: Guest on October-13-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language