PDA

View Full Version : I have everything installed now what?



zorafex00
Mon 7th May '01, 10:40pm
Okay Im running apache webserver win32 on win2k.
i have just installed mysql.
I edited my config.php
error says
Warning: Failed to Connect in c:\program files\apache group\apache\htdocs\admin\db_mysql.php on line 139

Warning: Supplied argument is not a valid MySQL-Link resource in c:\program files\apache group\apache\htdocs\admin\db_mysql.php on line 37

Warning: Failed to Connect in c:\program files\apache group\apache\htdocs\admin\db_mysql.php on line 139


Okay... Mysql admin under MyODBC says not found.
Does that mean I need to goto control panel->admin toosl->OBDC ? and add some user data source? if so which do i add?

Mike Sullivan
Mon 7th May '01, 10:46pm
The line numbers referenced aren't even related to MySQL (139 = } else{; 37 is the connection statement but it shouldn't return that). You're not installing RC2 are you?

zorafex00
Mon 7th May '01, 10:47pm
I dont suppose i am? i dont know what RC2 is..
care to explain?

Mike Sullivan
Mon 7th May '01, 10:48pm
vBulletin 2.0, Release Candidate 2.

zorafex00
Mon 7th May '01, 10:49pm
im installing vb lite 1.0.1

Mike Sullivan
Mon 7th May '01, 10:53pm
First, to answer your original question, vBulletin doesn't use ODBC to connect, so you don't need that.

Second, vB has to have returned more than that (like some generic "problem with the database error"). If it did, view the page source and you'll see a MySQL error hidden in there.

Third, moving to the Lite forum...

zorafex00
Mon 7th May '01, 10:53pm
it says :Warning: Access denied for user: 'root@root' (Using password: YES) in c:\program files\apache group\apache\htdocs\admin\db_mysql.php on line 31

YES isnt even the password i have defined in db_mysql.php

Mike Sullivan
Mon 7th May '01, 10:55pm
Well, then you edited your config.php incorrectly -- I doubt your servername is "root" (it's probably "localhost")

And YES, as in YES or NO.

zorafex00
Mon 7th May '01, 10:57pm
i have edited it
and root resolves to 127.0.0.1

Mike Sullivan
Mon 7th May '01, 10:58pm
Well, then it wasn't edited correctly and I can't tell you what to put in as I don't know your permission scheme.

zorafex00
Mon 7th May '01, 11:01pm
wow it tried it again and it worked! LOL i didnt change anything.. i was about to download myodbc ..
do i need myodbc driver by the way?