help with tinyurl clone

Discussion in 'PHP' started by kk_maths90, Jan 12, 2008.

  1. #1
    Here is the tutorial i have for tinyurl.com Clone and i m trying to install it...

    [1] Unzip the distribution file into your http documents directory.

    [2] Edit ./includes/config.ini.php file. Set
    root=directory_of_the_script (e.g. )
    dbhost=your_DB_host
    dbname=your_DB_name
    dbuser=your_DB_user
    dbpass=your_DB_user_password
    Be careful during editing this file!
    All other options including administrator's login and password you can change after login.

    [3] CHMOD ./includes/config.ini.php file to 666

    [4] CHMOD ./templates_c folder to 777

    [5] Create the mysql database (usually tinylink) with mysqladmin.
    mysqladmin -u<your_mysql_user> -p<your_mysql_pass> create tinylink

    [6] Create the mysql tables. You have 2 options :
    1) mysql -u<your_mysql_user> -p<your_mysql_pass> tinylink < db_structure.sql
    2) use phpMyAdmin to run the SQL file 'sql/db_structure.sql'

    I got steps 1 to 4 and I am new totally noob at mysql things.....someone plz explain me what are STEPS 5 and 6 ...Thank youu :) I have created database n all like it says on step 2 but just cnt figure out STEPS 5 and 6 so yea... pleasee
     
    kk_maths90, Jan 12, 2008 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #2
    Are you usinf shared hosting the steps 5 qnd 6 are for dedicated hosting or if you having a development server

    Regards

    Alex
     
    kmap, Jan 12, 2008 IP
  3. kk_maths90

    kk_maths90 Peon

    Messages:
    271
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i have VPS server from 1and1.com
     
    kk_maths90, Jan 12, 2008 IP
  4. eLeMeNtZ

    eLeMeNtZ Peon

    Messages:
    217
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Create the database in MySQL then open db_structure.sql and copy paste the contents and run through PHPMyAdmin
     
    eLeMeNtZ, Jan 13, 2008 IP
  5. kk_maths90

    kk_maths90 Peon

    Messages:
    271
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i tried it but it didn't work...oh well i got other similar script so its ok...Thankx guys for your help :D
     
    kk_maths90, Jan 14, 2008 IP