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

Yeni Konu aç Cevapla
 
LinkBack Seçenekler Stil
Alt 26 Ocak 2006, 14:42   #1
Çevrimdışı
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
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 !!

 
Alıntı ile Cevapla

IRCForumlari.NET Reklamlar
sohbet odaları sohbet odaları Benimmekan Mobil Sohbet
Alt 27 Ocak 2006, 19:16   #2
Çevrimdışı
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)



PHP Kod:   Kodu kopyalamak için üzerine çift tıklayın!
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 Kod:   Kodu kopyalamak için üzerine çift tıklayın!
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

 
Alıntı ile Cevapla

Cevapla

Etiketler
lutfennnn, lütfennnn, yardim, yardım


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Açık
Refbacks are Açık


Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Yardım Nick info Son Görülen Zaman aşımından Access silme Yardım HsN mIRC Scripting Sorunları 4 14 Ocak 2014 21:15
ircservices yardim lütfennnn.. schatze IRCServices 1 24 Ağustos 2011 22:44
Yardım Kanalınla ilgili yardım Avukat mIRC Scripting Sorunları 16 01 Haziran 2008 23:52