Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Script connecting to IP vs loacal host

edited November 2007 in Vanilla 1.0 Help
Hey all, my site has been running very slow as of late as well as crashing... I contacted my host and they came back to me with this... "The proper fix would to be to not use remote connections for what is otherwise a local resource. Your script is connecting to "xx.xx.xx.xx" for mysql, and while this is on the server, connecting to the IP rather then "localhost" causes this behavior. Please change this to "localhost" to prevent this issue in the future, and to avoid any abuse issues locally " I have no idea what script may be doing this (im guessing its an extension, but not sure) Has anyone had any similar issues?


  • well, check your vanilla_folder/conf/database.php you have there probably something like $Configuration['DATABASE_HOST'] = '123.321.123.321'; //(where 123.321.123.321 is IP) if you want to connect mysql database at localhost there should be $Configuration['DATABASE_HOST'] = 'localhost'; otherwise I dunno since I don't have much information
  • hmm, thanks.. i checked there earlier... its good... unfortunately, i dont have much more information then you ha but thanks again
This discussion has been closed.