Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Outside MySQL/PHP Permission Issue
#1

Hello,

 

I'm running a quick PHP script that connects to a MySQL database with a limited user (only has access to one database). Now, the user's access rights is wildcarded currently so they should be able to log in anywhere; however, when I use this user to access the the database via a PHP script, the said user connects fine but cannot write or read from the DB properly. They have all access rights to this single DB, but nothing seems to be working. Any ideas?

 

Thanks,

Iyce

 

EDIT: Nevermind, figured it out. The problem was that my settings force me into ensuring a domain is set; I cannot use 'anywhere.'

Reply
#2
Wildcarding domains is always fun with MySQL and you should always be careful when doing it. Sometimes actually forcing single entries per domain is the best solution :)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)