Welcome, Guest. Please Login or Register.
November 28, 2024, 08:52:08 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Cannot use database « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Cannot use database  (Read 299 times)
1dawg
Noobie
*
Posts: 12


Cannot use database
« on: June 21, 2002, 12:05:04 AM »
Reply with quote

My instalations is fine. I am on a apache server and the instaltion was great till i got to step 4 i got this message?

"Cannot use database dawgspc, connection to server succeeded by the way. "

any ideas what could be wrong?
« Last Edit: June 21, 2002, 12:05:48 AM by 1dawg » Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Cannot use database
« Reply #1 on: June 21, 2002, 03:48:53 AM »
Reply with quote

Shoulda used the search feature but anyways.  Make sure you have all the correct database settings and see this thread. http://www.yabb.info/community/index.php?board=131;action=display;threadid=8652
Logged

mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Cannot use database
« Reply #2 on: June 21, 2002, 09:13:51 PM »
Reply with quote

servername and dbname are correct, but you have used wrong username or password, so the db was connect but access denied for you!

you can check your db with my script anywhere posted here!

mediman
Logged

mainComm Dev Team
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Cannot use database
« Reply #3 on: June 21, 2002, 09:28:31 PM »
Reply with quote

just found the script!

<?php

$DBName 
"";
$DBUser "";
$DBPass "";
$DBHost "";
$prefijo "";

$testconnect = @mysql_connect $DBHost$DBUser$DBPass )
or die ( 
"1.<font color=red> Servidor de MySQL no encontrado y/o no conectando</font><br><br>" );
print ( 
"1.<font color=green> Servidor de MySQL encontrado y conectando!</font><br><br>" );
$testdb = @mysql_select_db $DBName )
or die ( 
"2.<font color=red> Base de Datos <font color=blue>$DBName</font> no encontrado o no se deja conectar!</font><br><br>" );
print ( 
"2.<font color=green> Base de Datos <font color=blue>$DBName</font> encontrado y conectando!</font><br><br>" );
$testtabl = @mysql_query ("select * from {$prefijo}members")
or die ( 
"3.<font color=red> Prefijo <font color=blue>$prefijo</font> no es correcto o los tablas de tu foro todavia no existen!</font><br><br>" );
print ( 
"3.<font color=green> Prefijo <font color=blue>$prefijo</font> de tu foro es correcto y los tablas existen!</font><br>" );
mysql_close $testconnect);

?>
put the data fpr your db in the script and then upload and run it! the script will say you what data is wrong!

mediman
Logged

mainComm Dev Team
1dawg
Noobie
*
Posts: 12


Re:Cannot use database
« Reply #4 on: June 24, 2002, 07:14:24 PM »
Reply with quote

Thanks for the help guy's. You all were right I had typed in the username wrong ::) Thanks for all your help. the board is working fine now. I also added some mods with no problem. I love YaBB ;D
Logged
1dawg
Noobie
*
Posts: 12


Re:Cannot use database
« Reply #5 on: June 24, 2002, 07:16:38 PM »
Reply with quote

I also am trying out templates right now. I am testing the XP theme, which I dont think I like. I know I will find a design sooner or later though :)

You can see the theme http://www.valcotech.biz/forums/index.php
« Last Edit: June 24, 2002, 07:17:44 PM by 1dawg » Logged
1dawg
Noobie
*
Posts: 12


Re:Cannot use database
« Reply #6 on: June 24, 2002, 07:47:40 PM »
Reply with quote

By the way. Like I said I am testing different templates. Dont freek out and think I stole yabbforum.com template. It was posted on this thread. I am in the process of editing it.

http://www.yabbforum.com/community/?board=graph_temp;action=display;num=1022758045
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Cannot use database
« Reply #7 on: June 24, 2002, 08:35:33 PM »
Reply with quote

glad to hear we could help you.

if you have created any kewl templates please be so kind and let us have a look in the showcase board!

cheers mediman
Logged

mainComm Dev Team
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Cannot use database « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.066 seconds with 21 queries.