PHP Developers Network
http://forums.devnetwork.net/

Uni Server set-up
http://forums.devnetwork.net/viewtopic.php?f=31&t=141726
Page 2 of 2

Author:  MarkHoward [ Wed Sep 09, 2015 4:38 pm ]
Post subject:  Re: Uni Server set-up

When I click on the phpMyAdmin button in UniServer the NZMotorhomeForum database is not listed.

Author:  requinix [ Wed Sep 09, 2015 5:35 pm ]
Post subject:  Re: Uni Server set-up

Okay... So it sounds like you don't have the database set up. You need that.

You basically need to install phpBB on your machine. Go through that whole process, which will involve setting up a database user and creating databases and tables and such, and when you're done you can try the forum again. Most of the information you'll need to know (eg. username, password, database name) should be configured with the site's phpBB - maybe in a config file?

Author:  MarkHoward [ Wed Sep 09, 2015 8:22 pm ]
Post subject:  Re: Uni Server set-up



Attachments:
Capture.PNG
Capture.PNG [ 37.14 KiB | Viewed 13390 times ]

Author:  requinix [ Wed Sep 09, 2015 10:09 pm ]
Post subject:  Re: Uni Server set-up

Databases are not set up in folders.

Did you find the configuration for the forum? It's probably a file, like config.php or config.inc or something like that. I think. That's the information that tells phpBB where the database is and how to connect to it.
You need to find that file and edit it to connect to your local database because whatever settings it has now will not work. The hostname needs to change (probably to localhost) but the username and password will be fine. Note the username, password, and database name.
Now you need to create the new database. Follow the instructions to install phpBB's database. Do it on your computer. Use the username, password, and database name from before.

Author:  MarkHoward [ Wed Sep 09, 2015 10:22 pm ]
Post subject:  Re: Uni Server set-up


Author:  MarkHoward [ Thu Sep 10, 2015 8:52 pm ]
Post subject:  Re: Uni Server set-up



Attachments:
File comment: Shows that I can browse my phpBB3 database
nzmotorh_forum.PNG
nzmotorh_forum.PNG [ 33 KiB | Viewed 13371 times ]
File comment: Shows the Username same as in config.php
Users.png
Users.png [ 17.08 KiB | Viewed 13371 times ]
File comment: Shows the Database same as in config.php
Databases.PNG
Databases.PNG [ 18.67 KiB | Viewed 13371 times ]

Author:  requinix [ Wed Sep 16, 2015 1:13 am ]
Post subject:  Re: Uni Server set-up

And I'm back.

Did you set up the database on the same machine where PHP is running?

Author:  PeeZo [ Tue Mar 13, 2018 1:15 am ]
Post subject:  Re: Uni Server set-up

updates on this?

Page 2 of 2 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/