MySQL Question
-
Hi,
trying to install WP on namesecure.
I have an existing phpBB there – and so am wondering if installing WP will make MySQL changes that will ruin the forum.
Also — I can’t seem to get the settings right anyway.
-
the settings being these:
// ** MySQL settings ** //
define(‘DB_NAME’, ‘mysql.website.com’); // The name of the databasetried this
tried the ip address
and tried the username which namesecure says is the DB name. ???could this be due to the phpBB already using the DB?
define(‘DB_USER’, ‘username’); // Your MySQL username
define(‘DB_PASSWORD’, ‘password’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this valueDB_HOST should be set to mysql.website.com
DB_NAME to the database name (or user name if your provider says so)bob – will this mess with my current phpbb forum & its mysql tables??
Still didn’t work. Getting this error when I try to open /wp-admin/install.php
Warning: main(/nfs/cust/3/83/91/619383/web/wp-settings.php): failed to open stream: No such file or directory in /nfs/cust/3/83/91/619383/web/wp-config.php on line 20
Fatal error: main(): Failed opening required ‘/nfs/cust/3/83/91/619383/web/wp-settings.php’ (include_path=’.:/usr/local/php/include’) in /nfs/cust/3/83/91/619383/web/wp-config.php on line 20
wp should not interfere with the phpBB installation (at least not in the database).
where did you put your files ? Do you have different folders for phpBB and wp ? Was the upload ok ?
Can you request the wp-installation, as far as I get it under http://www.yourhost.com/
well,
the wp files I dumped right into my root folder (www.mysite.com) thinking I will delete the old site once I build this one.
the phpbb is in http://www.mysite.com/forum/
What are the rights on your root folder ?
Which Version of WordPress are you using ?Whoops, did you edit the wp-config.php ? Or create it ?
WordPress: 2.01
Wp-Config: I edited it.
root: rights should be ok – I mean my current site is available at /index.html
– I set all wordpress pages/folders/subfolders to 777Is wp-settings.php available in your root directory ?
The error message says, that wp-config.php cannot locate wp-settings.php in the same directory.I don’t see wp-settings.php in my dir… let me see…
ahhhhh – not sure what happened but the last 10 or so files weren’t in root.
thanks bob – so far so good right now.
PS – does wp just make a new mysql table and so not interfere with phpbb?
In the install-process, you can define a table prefix (default is wp_) that is used when adding a table (i.e. wp_posts, wp_options, …). I have phpBB and (multiple) wps in one database and no problems.
But in general, it is a good idea, to backup the db …
Okay – now I made a bigger mess.
The new blog wasn’t showing up when I hit “view site” because it was going to index.html (the old site).
So I went to options and changed the site url to http://www.mysite.com/index.php
Now wordpress is a huge mess. Can’t change that option back. when I try to in options – it tells me: Sorry, you need to enable sending referrers for this feature to work.
help again?
Tried changing network.http.SendReferrer
settings in Firefox, but no difference.
I can try to, but you need access to your DB.
There’s a great description at
http://www.tamba2.org.uk/wordpress/site-url/
If you don’t have access to your db AND there are no entries in the db, you can work around with changing the table prefix in wp-config.php (i.e. to wp2_) and reinstall WordPress, but that’s not the best way π
- The topic ‘MySQL Question’ is closed to new replies.