When I setup phpbb... problem exist
critical error
could not connect to the database
I search and someone say type c:\mysqladmin\bin
mysqladmin create phpbb
but where type this 2 command
can ANYONE help me..thx very much
[問題]Critical error
版主: 版主管理群
版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
Re: [問題]Critical error
freeman123 寫:When I setup phpbb... problem exist
critical error
could not connect to the database
I search and someone say type c:\mysqladmin\bin
mysqladmin create phpbb
but where type this 2 command
can ANYONE help me..thx very much
Hello!!!! freeman123
Server Assumptions:
You have a running web service provider
Your web host is running the mysql version 3.x database
Your web host is running PHP 4
Your web host has given you a database to use, along with the username, password, and server address (if different from the webserver)
Your web host has given you ftp access, and you know which directory is the base directory for your web pages.
These instructions only apply if you meet the above requirements. If you don't know any of the above information, none of the people on these forums can help you...you must contact your web hosting provider for details.
Here are the steps:
1.Download the latest version of phpBB2. Currently it can be found at http://www.phpbb.com/downloads.php. I prefer the .tar.gz files, and winzip has no problems dealing with them.
2.Decompress the files to a directory on your local system, making sure that you maintain the relationship between directories. I'll suggest that you decompress them to c:\webupload
3.Now, within C:\webupload, you should have a phpBB2 directory, full of goodies. Open up your FTP client, and connect to where your web host tells you to go for uploading your web pages. Make sure that you are in the base directory for your web pages (there's a good chance this will be either htdocs or httpdocs). Tell your FTP client to upload (set the mode to auto or ASCII) the entire contents of c:\webupload\phpBB2. If all went right, on the webserver you should see a directory named phpBB2, containing all the stuff you unzipped on your windows computer.
4.Connect your web browser to http://yourfullhostlocation/phpBB2/index.php. You should see a screen asking for a bunch of configuration options. Leave the first 3 options alone (i.e. English, MySQL 3.x, Install). For the next four options, you will need the information your host has given you. The first of the four asks for the location of the database server. You will probably enter "localhost" (no quotes) unless you know for sure that your database is hosted on another server. Your database must have been created in advance by your web host, and you will enter the name in the second line. The username and password should have been given to you by your host, but I'll bet they probably will be the same as your web FTP username and password. For simplicity, leave the "Prefix for tables in database" as phpbb_
On the next three options, you must create an administrator account. This is the person who has total control over the board, and is needed to do the initial set up.
5.Most likely it will tell you that it can't write the config file. Select the option to "send the file to me." Your web browser will download this file automatically. Have it download it to c:\webupload
6.Reconnect to the web server using your FTP client. This time, go into your phpBB2 directory on the webserver, and have your FTP client upload c:\webupload\config.php there.
7.Using your web browser, connect to http://yourfullhostlocation/phpBB2/index.php again. You should now see the board, along with a test forum already set up. Now log in as the administrator username you created during the install, and go to the administration panel. You should be all set now to finish configuring your board!
A standard installation includes the subSilver style, which is of course a wonderful style. it can happen though that you would want to install one of the excellent other styles available. read this post if you want to know how.
1. download the style(s) of your choice from the styles download page
2. unpack the zip(s) and place the files in their own directory in the /templates/ directory inside your phpBB2 directory. if your server is online somewhere, then you'll first need to unpack to a directory, then upload it to your server
3. go to your administration control panel
4. under "styles admin", click on the link "add"
5. you will find a list of styles that are present in the templates/ directory but that haven't been installed to your forum. behind every style, you see an "install" link. click on that link to install the style.
6. if you've done this for all the styles that you wanted to install, then have fun! they're now available to your users, or to you to set as the default style in general admin => configuration
I would here you are.
support:
http://phpbb-tw.net/phpbb/viewtopic.php?t=19222
http://phpbb-tw.net/phpbb/viewtopic.php ... ical+Error
--[Richtiges Posten hier an Board]--


