+ Reply to Thread
Results 1 to 8 of 8

Thread: Log in/register script

  1. #1
    tweaky is offline x10Hosting Member tweaky is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    5

    Unhappy Log in/register script

    Why do I get this message when trying to register/log in?

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'tweaky'@'starka.x10hosting.com' (using password: YES) in /home/tweaky/public_html/login.php

  2. #2
    xgreenberetx is offline x10Hosting Member xgreenberetx is an unknown quantity at this point
    Join Date
    Oct 2009
    Posts
    57

    Re: Log in/register script

    Your config setting to connect to your database does not have permission to have access to that database. Check your settings to match the ones you used when you made the database.

  3. #3
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Log in/register script

    You also have the wrong username.

    mySQL usernames on free hosting are of the form:

    cPanelusername_anothername

    So, if your cPanel name is also tweaky, you would have db usernames like tweaky_tom , tweaky_dick and tweaky_harry.

  4. #4
    tweaky is offline x10Hosting Member tweaky is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    5

    Re: Log in/register script

    So what would be the host name?
    Last edited by tweaky; 12-23-2009 at 08:56 PM.

  5. #5
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Log in/register script

    "localhost"

  6. #6
    tweaky is offline x10Hosting Member tweaky is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    5

    Re: Log in/register script

    Where do i go to change the setting? Because it tells me access denied still.

  7. #7
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Log in/register script

    Quote Originally Posted by tweaky View Post
    Where do i go to change the setting? Because it tells me access denied still.

    You have a slight advantage over most of us. You actually know what software you are running.

    It usually comes with documentation and/or instructions. Quite often it will mention a file named something like configuration.php and tell you what/how to edit.

    But since there are 24,674,314 different scripts you might be using, I am afraid that I don't have a clue.

  8. #8
    xgreenberetx is offline x10Hosting Member xgreenberetx is an unknown quantity at this point
    Join Date
    Oct 2009
    Posts
    57

    Re: Log in/register script

    look for a file named config or settings.

+ Reply to Thread

Similar Threads

  1. [OFF] selling some hot script 500 credits each
    By neteater in forum The Marketplace
    Replies: 8
    Last Post: 03-24-2009, 09:08 PM
  2. CRON job : script timeout ?
    By webtomata in forum Free Hosting
    Replies: 4
    Last Post: 09-12-2008, 04:23 PM
  3. Access to 300+ PHP scripts (2500 credits)
    By jonathanyaniv in forum The Marketplace
    Replies: 11
    Last Post: 06-03-2008, 10:58 PM
  4. Replies: 8
    Last Post: 12-03-2007, 04:12 PM
  5. Server UP time Script
    By dharmil in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 04-03-2006, 04:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers