+ 1

Please check this code

This code is to connect sql database server from php find the error and fix it. https://code.sololearn.com/WI6RNlI33i7V/?ref=app

7th Mar 2018, 12:45 AM
Shubhendra Kushwaha
Shubhendra Kushwaha - avatar
3 ответов
+ 3
I'm just going to take a wild guess and say that your server isn't accepting the login request. Most SQL server don't allow connections to it with the exception of localhost. You probably have to configure the server to allow you to connect to it from SoloLearn's servers.
7th Mar 2018, 1:48 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 3
I hope those aren't the actual server credentials...
7th Mar 2018, 1:43 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
You also have to change the language type to PHP.
8th Mar 2018, 1:16 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar