مشكله في تنصيب منتدى محلي
أخواني عندي مشكله قمت بمحاولة تنصيب منتدى على سيرفر محلي
وقد قمت بتعديل ملف config ولكن لا اعرف بعد محاولة التنصيب وضغط
على المراحل تظهر لي هذه الصفحه ..
الخطوة 2 الارتباط بقاعدة البيانات
محاولة الاتصال بقاعدة البيانات
Error description: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) C:\AppServ\www\vb\include s\class_core.php on line 274
The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.
الرجاء من عنده حل الا يبخل علي
وهذا هو ملف config فمن عنده ملاحظه الرجاء ابدأها
<?php
/*======================== ========================= =====================*\
|| ######################### ######################### ################## ||
|| # vBulletin 3.6.8 By Marsavb.com & Marsavb Forum Team
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2007 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| ######################### ######################### ################## ||
\*======================= ========================= ======================*/
/*-------------------------------------------------------*\
| ****** 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, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
// for slave options just append _slave to your preferred database type.
$config['Database']['dbtype'] = 'mysql';
// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// اسم قاعدة البيانات.
$config['Database']['dbname'] = 'asa';
// ****** 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.
// البريد الذي ترسل اليه اخطاء قاعدة البيانات.
$config['Database']['technicalemail'] = 'asdf0000.com';
// ****** FORCE EMPTY SQL MODE ******
// New versions of MySQL (4.1+) have introduced some behaviors that are
// incompatible with vBulletin. Setting this value to "true" disables those
// behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = false;
// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// اسم المستخدم لقاعدة البيانات.
$config['MasterServer']['username'] = 'root';
// باسورد قاعدة البيانات.
$config['MasterServer']['153111'] = '';
رد: مشكله في تنصيب منتدى محلي
تأكد أنك أنشأت قاعدة بيانات في http://localhost/phpMyAdmin/
ثم حبيبي تأكد إنك وضع الرقم السري الصحيح عند تنصيب السيرفر المحلي
واليوزر عند التنصيب تأكد إنك جعلته root
لك تحياتي