AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   MySql (https://forums.alliedmods.net/showthread.php?t=26680)

Migs Davis 04-07-2006 08:09

MySql
 
I've never had to connect to a database where host wasn't localhost, so this issue is somewhat confusing. The host of the MySql database is somewhat restrictive, and as expected the access error is:
Access denied for user: 'username@youcanresolvethisanywayh@)(0rs!' (Usin...

However, we are able to adminstrate our MySQL databases via cpanel, ergo phpmyadmin. In CPanel it has an option titled "Add Access Host". Is that what I'm looking for? I would assume not because I feel like I'm the accessing client not host... but why else would they give us that?

I know this isn't explicitly scripting related but I am getting the error in that context and I find these forums more helpful than most forums, thanks!

Janet Jackson 04-07-2006 08:20

Re: MySql
 
Quote:

Originally Posted by Migs Davis
In CPanel it has an option titled "Add Access Host". Is that what I'm looking for?

Yep.
Quote:

I would assume not because I feel like I'm the accessing client not host... but why else would they give us that?
Look at it this way : your gameserver is a host that wants to access your database.

Migs Davis 04-07-2006 08:47

Alright thanks, but I need to look at another problem. Right now I'm testing it on a server I'm running off my computer, but when I add the access host, my ip address (with the last digit as the wildcard just out of safety, I still get the access denied error!

Migs Davis 04-07-2006 08:52

SORRY nevermind it just started working? Maybe it took sometime for the access list to update. Thanks Janet! I loved your last superbowl performance, that ring was a lil too freaky tho

Janet Jackson 04-07-2006 08:54

It wasn't me.


All times are GMT -4. The time now is 16:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.