PDA

View Full Version : Driving me nuts! I need addy


thegrim
11-04-2007, 03:42 AM
I am editing a file... new to this php thing..
This is the string I am editing:

$dbhost = "mysql"; // host address of your mysql server

What is mysql host address?

My username on ulmb is thegrim.
So web is thegrim.ulmb.com
PLEASE HELP!

th2mods
11-04-2007, 03:44 AM
it should be fine, the host address for ulmb is "mysql"

the // is just a note, it does nothing to the code, its just letting you know what that line of code does.

thegrim
11-04-2007, 03:51 AM
hmm... ok.. then thats not my problem.. thanks for the info!
Gotta figure out why this program is still failing then.....

th2mods
11-04-2007, 03:55 AM
what is the error, please elaborate a little more

UnlimitedMB
11-04-2007, 04:44 AM
Not a support question, moved to scripting.
To learn how to use php goto www.php.net

thegrim
11-04-2007, 04:33 PM
well I am running a program that I installed.. it checks mySQL before I can install..
everything passes as far as files being there.. looks like this

Galaxytool v4.08 - Installation check
Syntax: config.php success
Syntax: attributes.php success
Owner GRIM
Language english
Universe 34
MySQL connection failed
Database existency failed
MySQL version check failed

I edit the config file to point to the database... everything is correct.. but it fails when trying to locate the SQL.. not sure if it has something to do when I login.. every time I try to login it times out numerous times before letting me in..
I am only using ULMB for this galaxytool.. heck I will give someone my login if they can figure it out..
The instructions for the file im using (including instructions for installing it on ULMB) are here:
http://board.ogame.org/thread.php?postid=4677935#post4677935

I have everything uploaded to my profile.. and all the files edited as per the above tutorial... if someone could figure it out.. I would owe them big time..

wwe
11-04-2007, 04:45 PM
Did you put the MySQL host as being "mysql" and NOT "localhost" ?

ishbal
11-08-2007, 07:29 AM
I'm running galaxytool here too and followed that same post to install it. Perhaps a little more info and I could help. I am running v4.05, perhaps there have been some changes in the new version. Use you control panel and go to phpmyadmin and see if the database does indeed exist. If not, there is no way to even view galaxytool. One thing I think the forum post does not explain is that you need to view the setup and config files before deleting them. Just go into your control panel, find the files and click on them. This will bring them up in a new window. Once they have been run like this, your database should exist. Have you done this yet?