I\'ve been trying to connect to a remote DB hosted elsewhere, not my my PC as localhost, but whenever I do (using the exact same password, host, etc as the live server), I get these errors:
I have a form where the user enters their database information and can click a link that uses AJAX to send the credentials to this page. The problem I have is that as long as the开发者_StackOverflowy
I have mysql_connect running with no problem on my site... I have a script that i\'m running from a CRON job, and here it decides to not work, and output these two errors:
first of all, thanks for your time. Like the subject says... i\'m doing a login page, but every search send me to the same code:
Im trying to move my database connection script to an external (and therefore more secure) file. However, it isnt workin开发者_如何学运维g.
*This question is f开发者_运维问答or NON-local host\'s. *I am using a web-host service. NOT my personal server.
I need to save the value of mysql_connect() in a global variable that\'s accessible in every php file in my project
I am using mysql cpp library . I checkout the recent copy from there bzr trunk and used cmake to generate l开发者_如何学编程ibrary .
I am trying to set up a PHP framework on my Mac 10.6 computer, and it keeps erroring during setup due to database connectivity issues. So I put together a small php script to see if I could connect 开
I was assigned to maintain prehistoric PHP application, which uses some \'phpDB\' class written by Joe Thong, last updated in 1999. This application connects to two different databases on the same ser