IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   vBulletin Sorunları ve Çözümleri (https://www.ircforumlari.net/vbulletin-sorunlari-ve-cozumleri/)
-   -   Yardım LütfeNnnn (https://www.ircforumlari.net/vbulletin-sorunlari-ve-cozumleri/11303-yardim-lutfennnn.html)

qURaYReaL 26 Ocak 2006 14:42

Yardım LütfeNnnn
 
Arkadaşlar
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:login_forum:localhost","login_ forum","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "login_forum", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("login_forum");

Db Oluşturdum ve Bu şekilde Confing.php ayarladım

<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 3.5.0 Beta 3 - Licence Number
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2005 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] (açıklaması:
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
color=red>[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]
(açıklaması:
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+---------------------------------------------------------+
| If you get any errors while attempting to connect to |
| MySQL, you will need to email your webhost because we |
| cannot tell you the correct values for the variables |
| in this file. |
\*-------------------------------------------------------*/

// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
// Valid options are mysql and mysqli. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
$config['Database']['dbtype'] = 'localhost';

// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['dbname'] = 'login_forum';

// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';

// ****** TECHNICAL EMAIL ADDRESS ******
// If any database errors occur, they will be emailed to the address specified here.
// Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = '
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
';



// ****** MASTER DATABASE SERVER NAME ******
// This is the hostname or IP address of the database server.
// It is in the format HOST:PORT. If no PORT is specified, 3306 is used.
// If you are unsure of what to put here, leave it at the default value.
$config['MasterServer']['servername'] = 'localhost';

// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$config['MasterServer']['username'] = 'login_forum';
$config['MasterServer']['password'] = 'login';

// ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
// This option allows you to turn persistent connections to MySQL on or off.
// The difference in performance is negligible for all but the largest boards.
// If you are unsure what this should be, leave it off. (0 = off; 1 = on)
$config['MasterServer']['usepconnect'] = 0;



// ****** SLAVE DATABASE CONFIGURATION ******
// If you have multiple database backends, this is the information for your slave
// server. If you are not 100% sure you need to fill in this information,
// do not change any of the values here.
$config['SlaveServer']['servername'] = 'localhost';
$config['SlaveServer']['username'] = 'login_forum';
$config['SlaveServer']['password'] = 'login';
$config['SlaveServer']['usepconnect'] = 0;


Ama Fatal error: Database class not found Bu Hatayı Veriyor
Lütfen Yardımcı OLUN !!

YoN`a`TeaM 27 Ocak 2006 19:16

PHP- Kodu:

Connection Strings 
Perl $dbh 
DBI->connect("DBI:mysql:login_forum:localhost","login_ forum","<PASSWORD HERE>"); 
PHP $dbh=mysql_connect ("localhost""login_forum""<PASSWORD HERE>") or die ('I cannot connect to the database because: ' mysql_error());
mysql_select_db ("login_forum"); 

Alıntı:

Db Oluşturdum ve Bu şekilde Confing.php ayarladım
Dß oLuştururken Hata vermiş zaten

PHP- Kodu:

PHP $dbh=mysql_connect ("localhost""login_forum""<PASSWORD HERE>") or die ('I cannot connect to the database because: ' mysql_error()); 

Yeniden ßi Dß oLuşturmanı tavsiye ederim


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 20:51.

Powered by vBulletin® Version 3.8.8 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2024 IRCForumlari.Net