1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Quick help needed about directory !

Discussion in 'Directories' started by MeetHere, Jan 29, 2007.

  1. #1
    I want to start a directory. I already uploaded all the files - just need to press install.php :D

    But on the same webhost I have wordpress blog working.
    And the webhosting company is allowing only 1 MYsql database which I alloted for wordpress blog.

    Now how can I create another database for the directory ?:(
    Can I create a new user and add to the wordpress database name ?:rolleyes:
     
    MeetHere, Jan 29, 2007 IP
  2. earticles

    earticles Well-Known Member

    Messages:
    933
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    175
    #2
    Use the same database but try to put something before the table names your installation will create.

    For example. Let's say the install.php is trying to create those tables:

    table1
    table2
    table3

    then, use

    dir_table1
    dir_table2
    dir_table3

    Usually, you may set it from the install.php user interface. So, you don't need a new database. Just use the same database (same user/pass) and add a prefix for the new tables.

    In order to avoid any problems, please backup your actual database first.

    Hope this helps.

    BTW: when ready, feel free to submit your site to free web directory.us
     
    earticles, Jan 29, 2007 IP
  3. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #3
    How to prefix those tables ?
    Can adding a new user to the existing database and then using it for directory will help without problems ?
     
    MeetHere, Jan 29, 2007 IP