Php mysql connection from script | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Php mysql connection from script

I have been facing this problem when using Ubuntu server (lamp) for local development, the problem is when I try to connect to db from Php scripts the queries won't work, as when working with phpmyadmin the queries work without problem. How can I solve this problem?

11th Mar 2018, 11:07 PM
navilindo
navilindo - avatar
5 Respostas
+ 2
Show me your query
12th Mar 2018, 12:17 PM
Toni Isotalo
Toni Isotalo - avatar
0
Are you executing queries capitalized?
11th Mar 2018, 11:40 PM
voidneo
0
no they are not capitalized
11th Mar 2018, 11:45 PM
navilindo
navilindo - avatar
0
I've heard that on linux not capitalizing instructions might cause errors. I have only used it on windows so I can't tell
12th Mar 2018, 5:26 AM
voidneo
0
"select * from people"
12th Mar 2018, 12:34 PM
navilindo
navilindo - avatar