installing phpBB

Soldato
Joined
12 Nov 2002
Posts
14,600
Location
In my own little world
Does anyone have experience of installing phpBB ?

I'm following the guide here but I'm confused what details are needed. I've created a database in my 123reg account which gives me the username, password and database name but I have no idea what database server hostname or DSN is :(

phpbbinstall.jpg


MW
 
Try the word localhost.
If that doesn't work you'll have to ask them what it is.
If you have MySQL rather than the one with MySQLi extension, try that as well.
 
I've changed to mysql and tried localhost but I keep getting this error message

Could not connect to the database, see error message below.
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

My knowledge of SQL is pretty limited, could it be I haven't set up the database properly ?

MW
 
Either localhost is not the right answer or one of the other bits of info about the username, db name etc.

Check with 123reg that localhost is right. It usually is 90% of the time but they may not use that.
 
I think localhost is correct

Database server hostname or DSN:
DSN stands for Data Source Name and is relevant only for ODBC installs. On PostgreSQL, use localhost to connect to the local server via UNIX domain socket and 127.0.0.1 to connect via TCP.

when I try with 127.0.01 I get more error messages

Could not connect to the database, see error message below.
Lost connection to MySQL server at 'reading initial communication packet', system error: 111

So i've tried deleting the database, the username and database names stays the same when I recreate it, I've also tried resetting the password.

Could it just be I'm not setting the database up correctly so it's just not connecting ?

MW
 
There isn't much to setting up the DB. You create it in the MySQL databases bit of your control panel, create a username and assign it to the database.

All of the info you enter on that installation page has to be exactly right.

It's still worth finding out if localhost is correct.
 
Something is really screwed even though I've made very few changes. The BB in chrome keeps asking me to authenticate, which I do correctly, it then says forwarding to admin control panel but then it asks to authenticate again and then after several attempts it works until I click on something else and then it asks again. When I tried to log out it said it couldn't as the sessions didn't match :confused:

With IE it does the same to login but when I click admin control panel it says I don't have permissions as if it's logged me out straight away

MW
 
I've given up. I can't even login which is a pretty fundamental step in all their FAQs. I've even tried completely re-installing but it hasn't worked. Time to ditch this and try something else.

MW
 
Login issues are nearly always cookie related. It can also be to do with the server setup so changing software might not fix it.

Did you post on the support site?
 
Mr-White,

Whereas i do not have experience with phpBB i do with MyBB, check my sig and a quick google for info. There is also good documentation for set up and i have a few tutorials myself.
 
I posted in the phpBB forums and got an immediate response, it turns out reg 123-reg are injecting Java script into my board :(

MW
 
Back
Top Bottom