PDA

View Full Version : I think I did something wrong


Jerry Faust
01-10-2008, 06:31 PM
I keep getting this message and don't have a clue where to go . This is my first web site so most of this is new to me.

Thanks for any help

Warning: mysql_get_server_info() [function.mysql-get-server-info (http://www.tritongameservers.com/calendar/setup//function.mysql-get-server-info)]: Access denied for user 'tritong'@'localhost' (using password: NO) in /home/tritong/public_html/calendar/setup/integrity.php on line 36

Warning: mysql_get_server_info() [function.mysql-get-server-info (http://www.tritongameservers.com/calendar/setup//function.mysql-get-server-info)]: A link to the server could not be established in /home/tritong/public_html/calendar/setup/integrity.php on line 36

ve9gra
01-10-2008, 09:09 PM
That is because the information you provided for a user/password for the database connection is invalid.

Jerry Faust
01-10-2008, 09:23 PM
I was pretty sure it was something like that. When I did the install it didn't ask to create a data base. when I was going through the setup I got a message it could not find data base and I needed to create one. I created on in cpanel but i used the password the data base was created with in the setup. Do I just need to reinstall and have the install set up the date base?

ve9gra
01-11-2008, 07:47 AM
No, you still need to create the database manually. When you set that up, create a user along with it (with a password). When that is done, provide that info to the Setup Manager, which will then create the table inside of the database.

If you read the error message you posted, it shows that you didn't provide a password for the connection. Also, sometimes, hosts will provide a central database server which is not "localhost", so confirm with your hosting company what you should use to connect to it.

Jerry Faust
01-11-2008, 03:31 PM
I did create the data base manually but I noticed just now that the permissions are set to 644. I think is a protected setting and I may have done this before set had loaded the table.

I am using the correct name and pw. But according to the error message it look like I have pw turn on in one place and turned off in another.

This is the fist thing I have every loaded on my web site so sorry for the learning curve.:1book:

ve9gra
01-11-2008, 09:57 PM
I answered your message - so you may already have your answer...

But to answer this post, if the config.inc.php permission is set to 644 then you wouldn't be able to save the configuration. You can confirm that by checking if the save button at the bottom of the Setup Manager is enabled or not. Have a look at the database section in the Setup Manager, and you should see the password there. If you don't, you need to enter it in there, as mySQL is obviously waiting for a password and none is provided.

Jerry Faust
01-12-2008, 05:19 PM
I change the permissions from 644 to 777 on the data base for the files mentioned. I doubled check the setting, user name, password and user name. The save change button does work. But I am still getting the exact same error.

If I uncheck the " Database Type to UTF8:" to no the error

"Warning: mysql_get_server_info() [function.mysql-get-server-info (http://www.tritongameservers.com/calendar/setup/function.mysql-get-server-info)]: Access denied for user 'tritong'@'localhost' (using password: NO) in /home/tritong/public_html/calendar/setup/integrity.php on line 36"

goes away and only the error: "Access denied for user 'tritong_calenda'@'srv1.nndoc.com' (using password: NO)"

I have completely removed and reinstalled everything twice and my web provider also did a reinstall and we got the same error.

Any Ideas?

Thanks:confused:

Brian
01-12-2008, 05:30 PM
The error is there because the mySQL information entered into the calendar doesn't match what is set up on the server.

MySQL FAQ:

https://www.easyphpcalendar.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=17

Jerry Faust
01-12-2008, 07:29 PM
Thanks I got it now. I needed to delete my temp files it kept taking back to the old spot where I got the message.

Thanks for the help now if I can get into a block I'll be doing great.
:clap: