+ 1

Good morning. I want to run this code to create database and table in my localhost 0.0.0.0 running port 2222. I have error line

Create database and table in server php symfony https://code.sololearn.com/wIgC0lX1vkUP/?ref=app

12th Sep 2022, 6:43 AM
Malick Diagne
Malick Diagne - avatar
2 Answers
+ 5
Hi! your localhost has an address not 0.0.0.0, but 127.0.0.1
12th Sep 2022, 6:49 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 4
#1) make sure your sql server is up ( and you didn't specified port at which sql server is running line 2 ) #2) you can fire integrated php web server . head to the directory containing this file run the following command $ php -S localhost:8080 -t . without $ after that you can access that file on https://localhost:8080/<filename.php>
12th Sep 2022, 6:47 AM
Prashanth Kumar
Prashanth Kumar - avatar