0
I have the following connection to the bank:
$pdo = new PDO('mysql:host=localhost;dbname=teste;charset=utf8', 'root', '');
In windows it works perfectly when I started the project on linux from error 500
. I already installed the mysql
in linux, I was able to access and create the database.
Is there a specific command for linux?
Already tried using mysqli instead of mysql?
– Phelipe
already and gives the same error
– Larissa silva
you have php and apache installed in the linux environment?
– Marcus Italo