Ask coding questions

← Back to all posts
Why can't i connect to mysql with php in php web server
TheDevBest

Why can't i connect to mysql with php in php web server

Answered by elipie [earned 5 cycles]
View Answer
Voters
TheDevBest
Comments
hotnewtop
elipie

Can you please show the repl?

TheDevBest

@elipie like is there a different way to connect to mysql db in php web

elipie

@TheDevBest go here mark this if it helped :D

Baconman321

Are you talking about the mysql server in repl? If not, you have to make sure your database is set up to handle remote connections. That is, connections from different domains/computers.

TheDevBest
Baconman321

@TheDevBest The mysql repl? I don't know of any way to connect to that sadly.