1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[REQ] Help with hosting my own URL Shortener

Discussion in 'PHP & Perl' started by Boshondi, Aug 15, 2012.

  1. Boshondi

    Boshondi Newbie

    Joined:
    Feb 12, 2012
    Messages:
    42
    Likes Received:
    1
    I was told I might have better luck solving my problem here, so here it is.

    I am currently trying to use the YOURLS to create my own custom URL shortener. My only problem is that I get this error after I upload my files to the file manager, and attempting to install YOURLS. "Error establishing mySQL database connection. Correct user/password? Correct hostname? Database server running? in /home/a4423722/public_html/includes/class-mysql.php on line 298"
     
  2. upl8t

    upl8t Regular Member

    Joined:
    Apr 9, 2008
    Messages:
    475
    Likes Received:
    84
    Location:
    New Scotland
    The error message is telling you what's wrong. There is a config file that has the database connection details. Have you changed those to match your server and mysql login info?