Free Web Hosting Forum
Go Back   Free Web Hosting Forum > Website Building > Web Programming
Reload this Page Problem accesing the SQL db (phpbb forum script)
Reply

 

Thread Tools Display Modes
(#1 (permalink))
Old
Junior Member
yomismo is on a distinguished road
 
Posts: 12
Join Date: Aug 2008
Default Problem accesing the SQL db (phpbb forum script) - 08-01-2008, 07:44 PM

Hi!

I am having hard problems with the sql db. I have read this thread:

Server1 and Server3 merged with Server6

But I d not know how to add a new user: what user name I must use? And what password? How I make the pHpBB script can know the new user of the db?
Reply With Quote
(#2 (permalink))
Old
Junior Member
yomismo is on a distinguished road
 
Posts: 12
Join Date: Aug 2008
Default 08-04-2008, 07:17 PM

Anybody knows how to fix this problem?
Reply With Quote
(#3 (permalink))
Old
sizzlefire's Avatar
Moderator
sizzlefire is an unknown quantity at this point
 
Posts: 1,253
Join Date: Apr 2008
Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire
Default 08-05-2008, 02:03 AM

Go into your control panel, go to mysql, and from there you can create new users and databases.


My sites:
My Blog | My Forum | Flash Games | File Sharing | Downloads

http://000webchat.wiredtron.com
the 000webhost support live chat, talk with members, users, and other people related. come here for support about anything, that another member could help with.

<?require("sleep.php");?>
Reply With Quote
(#4 (permalink))
Old
Junior Member
yomismo is on a distinguished road
 
Posts: 12
Join Date: Aug 2008
Default 08-05-2008, 07:50 PM

Thank you for your answer, but that's not the question. Creating a new user with his password is easy, but my problem is configurate phpBB to recognize the new user. How I do this step? Editing the config.php file?

Sorry if my English is bad, but my native tongue is Spanish.

My forum: http://www.derechocanonico.org/forum/
Reply With Quote
(#5 (permalink))
Old
sizzlefire's Avatar
Moderator
sizzlefire is an unknown quantity at this point
 
Posts: 1,253
Join Date: Apr 2008
Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire
Default 08-06-2008, 12:50 PM

Yes, you have to edit the config.php file and add the user, database, etc...

Also, we do have a spanish forum where you can get help in spanish...


My sites:
My Blog | My Forum | Flash Games | File Sharing | Downloads

http://000webchat.wiredtron.com
the 000webhost support live chat, talk with members, users, and other people related. come here for support about anything, that another member could help with.

<?require("sleep.php");?>
Reply With Quote
(#6 (permalink))
Old
Junior Member
yomismo is on a distinguished road
 
Posts: 12
Join Date: Aug 2008
Default 08-06-2008, 08:49 PM

It's not working yet. I think the problem is now the server. The old config file indicates 'localhost' as server: it's that right? My cPanel indicates srv6 as server: is this the name of the db server too?

Last edited by yomismo : 08-06-2008 at 08:51 PM.
Reply With Quote
(#7 (permalink))
Old
Junior Member
yomismo is on a distinguished road
 
Posts: 12
Join Date: Aug 2008
Default 08-07-2008, 07:40 PM

This is the config.file of my pHpBB forum:
<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql4';

$dbhost = 'localhost';
$dbname = 'name';
$dbuser = 'new user';
$dbpasswd = 'new password';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);

?>
Everybody can see the answer of the db here:

http://www.derechocanonico.org/forum/

Anybody knows what's wrong?
Reply With Quote
(#8 (permalink))
Old
sizzlefire's Avatar
Moderator
sizzlefire is an unknown quantity at this point
 
Posts: 1,253
Join Date: Apr 2008
Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire
Default 08-07-2008, 09:42 PM

The database host is not localhost, this thread will help: MySQL & Name Servers


My sites:
My Blog | My Forum | Flash Games | File Sharing | Downloads

http://000webchat.wiredtron.com
the 000webhost support live chat, talk with members, users, and other people related. come here for support about anything, that another member could help with.

<?require("sleep.php");?>
Reply With Quote
(#9 (permalink))
Old
Junior Member
yomismo is on a distinguished road
 
Posts: 12
Join Date: Aug 2008
Default 08-08-2008, 07:56 PM

Thank you, I have tried both server names, but not worked. My account is one of the oldest of 000webhost, and my cPanel is the old one; it doesn't show the server of the sql db, but pHpMyadmin shows localhost as server. By the way, pHpMyadmin can access correctly the db.
Reply With Quote
(#10 (permalink))
Old
sizzlefire's Avatar
Moderator
sizzlefire is an unknown quantity at this point
 
Posts: 1,253
Join Date: Apr 2008
Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire
Default 08-09-2008, 12:51 AM

Well, in that case, if its the old cpanel, that changes things, it IS localhost, login to the old cpanel, scroll down to mysql databases, and then the config page should look something like this:
Code:
<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql4';

$dbhost = 'localhost';
$dbname = 'dbname';
$dbuser = 'dbuser';
$dbpasswd = 'password';

$table_prefix = 'a*******_';

define('PHPBB_INSTALLED', true);

?>
Change the dbname, dbhost, password, and a*******_ to match your account.


My sites:
My Blog | My Forum | Flash Games | File Sharing | Downloads

http://000webchat.wiredtron.com
the 000webhost support live chat, talk with members, users, and other people related. come here for support about anything, that another member could help with.

<?require("sleep.php");?>
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com