+ 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
3 Answers
+ 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.
+ 3
I hope those aren't the actual server credentials...
+ 2
You also have to change the language type to PHP.