Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 24, 2012, 09:08:26 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155442
Posts in
21702
Topics by
7731
Members
Latest Member:
zvaigzdzius
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
Install stalled on mysql problem?
Pages: [
1
]
Go Down
Author
Topic: Install stalled on mysql problem? (Read 675 times)
adp
Offline
Posts: 4
Install stalled on mysql problem?
«
on:
October 21, 2008, 09:34:53 PM »
I've managed to install Apache2, PHP5 and MySQL5 on my Macbook running OS X 10.5.5. The installation is a Macports one, so files are all in /opt/local/
But I can't get the Baker 2.7.0 installation to save - persistent errors point to something boneheaded that I must have done.
Line 348 in save.php is one error:
// Try connecting to database
if(!mysql_connect(DB_HOST, DB_USERNAME, DB_PASSWORD)) {
set_error('Database host name, username and/or password incorrect. MySQL Error:<br />'.mysql_error());
}
The other one (when I tried something else) is from class.database.php:
function connect() {
$status = $this->db_handle = mysql_connect(DB_HOST, DB_USERNAME, DB_PASSWORD);
if(mysql_error()) {
Looks like something's wrong with the hostname, user and password I'm entering to give WB access to the database I created.
I used Webmin to create the database BakerBD. Had to alter permission to 755 to be able to see inside the mysql5 directory to confirm the path:
/opt/local/var/db/mysql5/BakerDB
What do I enter in the WB install configuration in Step 4?
Host Name: Is it just "localhost"? or is it a longer path?
User Name: I use "root" and a root password to get to the mysql> prompt in Terminal - are those the ones I enter here? Hasn't worked so far.
Maybe it's something else in the install information that I'm screwing up? Probably other permissions?
Baffled! Any help much appreciated.
Logged
doc
Guest
Re: Install stalled on mysql problem?
«
Reply #1 on:
October 21, 2008, 10:39:09 PM »
Hello,
is MySQL running in strict mode? This may cause problems.
Maybe also have a look to the Installation Guide from the help website
http://help.websitebaker.org/pages/en/downloads.php
.
Regards Christian
Logged
adp
Offline
Posts: 4
Re: Install stalled on mysql problem?
«
Reply #2 on:
October 21, 2008, 11:39:03 PM »
Thanks for the feedback. Hadn't heard of "strict mode" but managed to find how to disable it. Unfortunately, no effect on the installation.
I've used the installation guide throughout the process. I still suspect there's something in my MySQL setup that's causing the problems, but it hasn't revealed itself : -)
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...