WordPress.org

Ready to get started?Download WordPress

Forums

MySQL Question (21 posts)

  1. pandrus
    Member
    Posted 8 years ago #

    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.

  2. pandrus
    Member
    Posted 8 years ago #

    the settings being these:

    // ** MySQL settings ** //
    define('DB_NAME', 'mysql.website.com'); // The name of the database

    tried 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 value

  3. bob58
    Member
    Posted 8 years ago #

    DB_HOST should be set to mysql.website.com
    DB_NAME to the database name (or user name if your provider says so)

  4. pandrus
    Member
    Posted 8 years ago #

    bob - will this mess with my current phpbb forum & its mysql tables??

  5. pandrus
    Member
    Posted 8 years ago #

    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

  6. bob58
    Member
    Posted 8 years ago #

    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/

  7. pandrus
    Member
    Posted 8 years ago #

    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/

  8. bob58
    Member
    Posted 8 years ago #

    What are the rights on your root folder ?
    Which Version of WordPress are you using ?

  9. bob58
    Member
    Posted 8 years ago #

    Whoops, did you edit the wp-config.php ? Or create it ?

  10. pandrus
    Member
    Posted 8 years ago #

    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 777

  11. bob58
    Member
    Posted 8 years ago #

    Is 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.

  12. pandrus
    Member
    Posted 8 years ago #

    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?

  13. bob58
    Member
    Posted 8 years ago #

    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 ...

  14. pandrus
    Member
    Posted 8 years ago #

    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?

  15. pandrus
    Member
    Posted 8 years ago #

    Tried changing network.http.SendReferrer

    settings in Firefox, but no difference.

  16. bob58
    Member
    Posted 8 years ago #

    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 :-(

  17. pandrus
    Member
    Posted 8 years ago #

    downloading phpmyadmin

  18. pandrus
    Member
    Posted 8 years ago #

    omigod - a ton of files

    can I put phpmyadmin in a subfolder?

  19. bob58
    Member
    Posted 8 years ago #

    of course ... usually the folder /phpmyadmin/

  20. pandrus
    Member
    Posted 8 years ago #

    dam that's a big upload - still going....

  21. pandrus
    Member
    Posted 8 years ago #

    bob - thanks I gave up and installed wp on a new domain which worked great.

    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic