Hi, I have a porblems with database MYSQL.
I have a MYSQL database. On my Computer is with Apache all OK but on internet is with errors. :wave:
Printable View
Hi, I have a porblems with database MYSQL.
I have a MYSQL database. On my Computer is with Apache all OK but on internet is with errors. :wave:
your going to have to be a little more specific. what it your actual issue your running into? does your mysql not work when you connect to it over the internet? Is this your personal computer?
My page with MYSQL doesn't work over the internet. She can't connect. I don't know, where iserror. At home on Apache is go regular.
Please help me :) :) :)
Is this on web hosting ?
Have you checked the exact host name (usually 'localhost') user name, password, etc.?
What is the error message you get? If you don't get one after trying to connect, have you tried mysql_error() ?
are you trying to connect to the MySQL database directly over the internet, though an application such as MySQL Admin or MySQL-CC, if so try opening port 3306 on your firewall.
Also you need to set specific premissions on the MySQL users if you want them to be able to connect from another host other than localhost
Make sure you are also using the write address to connect to your computer. if you are using the ip address of your computer, make sure your using the correct one. if you are behind a router the ip address you need to use is of the routerm, not the computer. also check if your using a port number
The error message is:
Warning: mysql_connect(): Access denied for user 'nobody'@'localhost' (using password: NO) in /3w/euweb.cz/s/salcman/files/includes/login.php on line 3
It's right ?
$signal = mysql_connect(server name,user name,password);
Within connecting arise error.
I test the page on the other server too and that is same.
Please help me :wave: :wave: :wave:
Is this literally the line in your code?