Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Install.php -- "No database made" error
  • Posted: 30.08.2002, 10:15
     
    lsc21
    rank:
    Freshman Freshman
    registered:
     August 2002
    Status:
    offline
    last visit:
    24.10.02
    Posts:
    8
    Hello,

    I'm pretty new to the world of PostNuke. I just downloaded and decompressed Rogue714 along with MySQL today. By the way, I'm using RedHat 7.2.

    I get to the point where you enter your hostname, username, password, DB name, table prefix and DB type. The next page asks you to confirm that info and select an option to create the DB. Since I create my MySQL nuke DB manually, I skip that. Then I get the error "no database made." And the installation just stops.

    I checked directory permissions, logged into the DB with my DB username - nuke - and even created a table manually within the nuke DB. I then tried wiping out my nuke DB, recreating it again manually and restarting the install. Same error. :(

    By the way, I'm following instructiosn from this webpage:

    http://www.linux-mag…002-05/lamp_01.html

    I'm at my wits end. Does anyone have any advice?

    Thanks in advance,
    Lou
  • Posted: 30.08.2002, 11:02
     
    sdimbert
    rank:
    Freshman Freshman
    registered:
     May 2002
    Status:
    offline
    last visit:
    24.01.06
    Posts:
    43

    lsc21

    Since I create my MySQL nuke DB manually, I skip that. Then I get the error "no database made." And the installation just stops.


    Howdy, Lou.

    What do you mean by, "the installation just stops." When I do as you've done, creating my database manually (I actually use myphpAdmin), the Rogue Installer adds information to the database without actually creating it. It doesn't need to, since I already have.

    So, after I input the database name, path, user, etc and submit it, I get a page that says, in red at the top, "No database made," but beneath that "error message" is a long list of all of the columns that have been added to the database I built in advance.

    In other words, the "error message" isn't an error; there's a "continue" button at the bottom of the page, below the long list of database information.

    Could this be what you're experiencing?
  • Posted: 30.08.2002, 16:53
     
    lsc21
    rank:
    Freshman Freshman
    registered:
     August 2002
    Status:
    offline
    last visit:
    24.10.02
    Posts:
    8
    Hey, thank you for assisting me with this.

    Quote

    What do you mean by, "the installation just stops." When I do as you've done, creating my database manually, the Rogue Installer adds information to the database without actually creating it. It doesn't need to, since I already have.


    It just stops. I create my nuke database at the command line with the following command:

    Code

    shell>  mysqladmin -h <hostname> -u root -p create nuke


    Then I log into mysql with the DB user "nuke" and create a table as a test to make sure it works. Then I go through the following steps.

    1. Select your language
    2. Read the License
    3. chmod check
    4. DB information
    5. New Install
    6 Double check DB information

    This is where it stops, right where it should be creating tables.

    Quote

    So, after I input the database name, path, user, etc and submit it, I get a page that says, in red at the top, "No database made," but beneath that "error message" is a long list of all of the columns that have been added to the database I built in advance.


    I do not get columns of information, just "no database made" in the center of the page.

    Quote

    In other words, the "error message" isn't an error; there's a "continue" button at the bottom of the page, below the long list of database information.


    I do not get a "continue" button. The screen is comletely empty, save the error message.

    Quote

    Could this be what you're experiencing?


    I wish it was. Things would be a lot simpler. :D

    Lou
  • Posted: 30.08.2002, 18:22
     
    zip
    rank:
    Freshman Freshman
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.11.02
    Posts:
    19
    My linux server is sitting on the floor so I cannot confirm this, but If I remember correctly. If you create an empty database. then run the install it will error and not complete. because the database already exsits.

    You can might try deleteing the database you created with the shell command and running the install
    or
    try populating the database with rogue.sql, which meanse that you need to edit the config.php

    then run the install you will get to a screen that radio button that says somethinglike do not create database.

    If you can't get past that point after populating the database from the shell, you will need to enter your mysql connection information manually into the config.php

    If you manually enter your username and password into the config.php as plain text make sure you set:
    $pnconfig['encoded'] = '0'; to
    $pnconfig['encoded'] = '1';

    There was a script on the old boards that will encode your mysql password and username. I would be better use encode username and passwords for your mysql connect info.
  • Posted: 30.08.2002, 20:38
     
    jayco
    rank:
    Freshman Freshman
    registered:
     July 2002
    Status:
    offline
    last visit:
    08.11.02
    Posts:
    15
    I had this EXACT same problem. I ended up just doing a manual install, creating the DB in phpMyAdmin (there's a bug in the SQL script so you'll have to cut and past after about line 5). Everything seems to work fine.

    The script to encode your username and password is as follows:



    just drop it into file named something like delete.php, add your username and password and call it through your browser and presto!
  • Posted: 01.09.2002, 16:39
     
    the_creator
    rank:
    Freshman Freshman
    registered:
     December 1969
    Status:
    offline
    last visit:
    06.09.02
    Posts:
    18
    JUST TO ASK? IN ISNTALL.PHP ALL YOU CHECKED THE BOX NOT MAKE DB?

    this works this way.
    manualy go to phpadmin and create the DB name "example"
    upload the SQL file to ur DB "example"
    start install.php
    insert then DB name
    DB username
    DB password
    obs: dont forget that since u made himself the DB u need to check ,dont made DB
    and end

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula