![]() |
|
| |||||||
| Notices |
| mySQL & PHP Discussions, information and help with mySQL and PHP. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| Hello im trying to do a simple check up for a connection to my database through PHP script that looks like that : <?php mysql_connect("74.86.118.24 ", "user", "password") or die(mysql_error()); echo "Connected to MySQL<br />"; ?> but it always answers : Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'dannydb '@'voda23.voda23.com' (using password: YES) in /home/rgajsgjb/public_html/test.php on line 5 Access denied for user 'dannydb '@'voda23.voda23.com' (using password: YES) what didnt i do good ? *the user that i interd is the one i created with ABVFP my site is www.brasilwebdesign.com (the link in the center of the page) thanks |
|
#2
| ||||
| ||||
| Quote:
I am not sure why you would want to access your database from your page. Will you be a little more specific as to what you are trying to accomplish please?
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |
|
#4
| |||
| |||
| hi im trying to learn how to create a MYSQL PHP site that i can let people post messages on the site , it will be more of a donate stuff site so im trying to make the first step of quyering data from the database by connectiong to mysql |
|
#5
| ||||
| ||||
| Quote:
You can always access your phpmyadmin on cpanel and it will be safer there than to try to access your database from your website
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |
|
#6
| ||||
| ||||
| Quote:
Ok I understand. If you said you already set up a database using ABVFP then that is good enough right there. NavalDesign is the best to talk to about that.
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |
|
#8
| ||||
| ||||
| Quote:
You may also get your answers right there on his site. Contact him from there
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |
|
#9
| ||||
| ||||
| The password and username is up to you. I couldn't answer that. When you go to cpanel and go to mysql database that part is left up to you what name you want your database to be as well as your username and password.
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |
|
#11
| ||||
| ||||
| Is that how many times you've tried? Don't worry NavalDesign will get you in the right direction. Also check out this thread as to it may help you as well. http://www.vodahost.com/vodatalk/mys...ating+database
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |
|
#13
| ||||
| ||||
| lol gotcha, you are welcome. Did that thread help you?
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |
|
#15
| ||||
| ||||
| Actually it's WO man lol but sorry if that wasn't any help to you
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |
|
#17
| ||||
| ||||
| lol no worries Danny. I don't actually have a very femenine name lol. I am just sorry that I wasn't able to help you but I hope you hear from Naval soon or someone on the forum who knows how to assist you further.
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |
|
#19
| ||||
| ||||
| Quote:
There contact form isn't difficult at all. Go to the contact link. You provide him the information that is required "You will know which one is required by the red astericks" then let him know how urgent it is in priority then "How do you want to be contacted via email, phone, etc. You heard about him from VH Forum and then enter the verification letters and numbers and that is it. You don't have to worry about the upload part unless there is something you want him to look at.
__________________ Diane www.smallbizunite.net At first you don't succeed, pick yourself up and try again! |