DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • May 18, 2013, 07:31:33 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1] 2 3   Go Down
  Print  
Author Topic: I got really far..really  (Read 7479 times)
0 Members and 1 Guest are viewing this topic.
Tals
Guest
« on: January 08, 2006, 06:42:16 AM »


Ok, well, maybe not that far, but considering my experience I am pretty sure I'm doing well.

So, I am not asking for "THE" answer to this, more like, a nudge in the right direction... Do I need to go smack my php.ini around a bit, or is it that my database was created wrong. Heres the proplem:

Step 4 i put in all the required information....

localhost
lotgadmin
xxxxxxxx
lotgd

...respectively

after selecting Test this connection, it pops me back to 1, if I click back on Database Information I get:

Testing the Database Connection
Trying to establish a connection with the database:
Yahoo, I was able to connect to the database server! This means that the database server address, database username, and database password you provided were probably accurate, and that your database server is running and accepting connections.

I'm now going to attempt to connect to the LoGD database you provided.
Rats! I was not able to connect to the database. This is probably because the username and password you provided doesn't have permission to connect to the database.

The exact error returned from the database server was:
No database selected

When i first saw that i figured i screwed up the database creation sooooo

...of to the command propmt i went and typed in mysql -u lotgdadmin -pxxxxxxxxx lotgd and to my suprise i got no errors. Well it was time to walk away for a bit. When I tried again, I thought I might downgrade from php5 to php4 due to the numerous problems in general people seem to be having with 5. But that didnt do it..

So Newest Version of LOTGD from this site
mysql-5.0.18-win32 from mysql.com
php-4.4.1-Win32 from php.net

I am sure its gonna end up being the php.ini, but i figured I would shout out here real quick, go have some coffee then begin beathing the php.ini with a 5 pounder.


Thanks
Gene
« Last Edit: January 08, 2006, 07:01:05 AM by Tals » Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #1 on: January 08, 2006, 06:47:44 AM »

Step 4 i put in all the required information....

localhost
lotgadmin
xxxxxxxx
lotgd

...of to the command propmt i went and typed in mysql -u lotgdadmin -pxxxxxxxxx lotgd and to my suprise i got no errors.

Maybe, just maybe it's because of the two different database names you provided? Grin
« Last Edit: January 08, 2006, 06:49:24 AM by XChrisX » Logged

Running for more than three years now:
Tals
Guest
« Reply #2 on: January 08, 2006, 06:59:42 AM »

My typo here on the boards was with the user name not the data base isnt it?
« Last Edit: January 08, 2006, 07:02:43 AM by Tals » Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #3 on: January 08, 2006, 07:40:24 AM »

oh, eh ... yes... Smiley
Logged

Running for more than three years now:
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3592


short, sweet and to the point


View Profile WWW
« Reply #4 on: January 08, 2006, 09:19:43 AM »

hmmmm... i may be wrong, but perhaps the issue is with thy host.  i didn't think yahoo supported databases.
Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
Tals
Guest
« Reply #5 on: January 08, 2006, 09:31:32 AM »

yahoo? no this is on a static ip through comcast on my local system
Logged
Dannic
Guest
« Reply #6 on: January 08, 2006, 09:39:45 AM »

I know it works fine with easyphp.  It more than likely has something to do with your current php.ini settings but that is a bit more than I am able to help with.

Logged
Mindbender
Member
Captain of the Guard
***
Offline Offline

Posts: 190

I don't mind, so what.


View Profile
« Reply #7 on: January 08, 2006, 11:09:30 AM »

Is logd working with mysql 5?

did you upgrade your mysql installation or was it a clean new installation?
Is my assumption correct that you are using a linux system?
Can you please provide some more background information about your setup please?
Logged
Tals
Guest
« Reply #8 on: January 08, 2006, 11:42:44 AM »

This is a fresh install of mysql and php.
This is running on winxp pro sp2
I am using a non standard web server"Fastream Netfile Web server. It seems to function pretty well.


I've noticed that simple php's used to access mysql will only work with root and no other username can access mysql. I even cloned root to create the lotgdadmin account and that wont get into mysql either...

So, i thought i'd try getting lotgd to work using root.

Got the same error. I am definatly leaning towards php.ini I only changed one setting in it:

-uncommented out
;cgi.force_redirect = 1

-and changed it to
cgi.force_redirect = 0


Any hints as to what other changes need to be made or am I trying to bake a cake and asking if I need an oven?

Thanks

Gene
« Last Edit: January 08, 2006, 12:13:30 PM by Tals » Logged
Mindbender
Member
Captain of the Guard
***
Offline Offline

Posts: 190

I don't mind, so what.


View Profile
« Reply #9 on: January 08, 2006, 11:49:44 AM »

Is there a special reason why you are using the netstream webserver?
Not that ist's a bad software, I cust don't know it...

But I know that there are pretty good program compilations like easyphp which can be installed like..1..2.. on every windows box Wink

I had my baaaad dfiifculties with mysql and the accessrights after upgrading from 3.2 to 4.1 .. but I guess thats a different mug of Ale..
Logged
Zanzaras
Captain of the Guard
***
Offline Offline

Posts: 219


*Snipe*


View Profile
« Reply #10 on: January 08, 2006, 12:00:30 PM »

I decided back before Christmas to upgrade MySQL on my test server to version 5. I still haven't been able to get it to work, even after  removing the whole kit and kaboodle and starting from scratch. I've never had any troubles with previous installations using earlier versions MySQL, so I think there might be an issue with installing the game on MySQL 5... you may try dropping back to MySQL 4.1 or so and see if you have the same trouble.

Just my 2 cents worth. Good luck!
Logged

"Intelligence is like a river, the deeper it is the less noise it makes."
Tals
Guest
« Reply #11 on: January 08, 2006, 12:11:56 PM »

ok sounds like a good next step... gonna go get an earlier version of mysql..


stay tuned..

Gene
Logged
Tals
Guest
« Reply #12 on: January 08, 2006, 12:35:25 PM »

Well it was worth a shot.. exact same problem with 4.1. for what ever reason php can't connect properly to mysql. The root can get to mysql in simple php but any user i create cant get to it. Oddly, using root wont let logd connect though.

Any ideas as to what other changes need to be made in the php.ini?
Logged
Zanzaras
Captain of the Guard
***
Offline Offline

Posts: 219


*Snipe*


View Profile
« Reply #13 on: January 08, 2006, 12:46:51 PM »

Forgive me for asking the obvious... but when you created your lotgdadmin user, did you assign them rights to the greendragon db? Since it's on your local computer, i'd go ahead and assign it full rights.

Just a shot. I've forgotten to do it before so... why not. Smiley
Logged

"Intelligence is like a river, the deeper it is the less noise it makes."
Tals
Guest
« Reply #14 on: January 08, 2006, 01:11:35 PM »

No worries, at this point obvious is relative.

select
insert
update
delete
create
drop
grant
references
index
alter
create_tmp_table
lock_table

all assisgned to the logtdadmin account
for database lotgd
Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
$100 raised this year
Your help is greatly appreciated!
Who's Online
21 Guests, 1 User
Aeo
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search