+ Reply to Thread
Results 1 to 4 of 4

Thread: data for php.settings in drupalsite

  1. #1
    wmaarten80 is offline x10Hosting Member wmaarten80 is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    6

    data for php.settings in drupalsite

    hi, i've just tried uploading my drupalproject but i can't get it to work online. The error message is:

    The mysqli error was: Can't connect to MySQL server on '10.33.248.75' (111).

    so the question is what to put instead of localhost in the file php.settings file

    on this line; $db_url = ‘mysqli://username:password@localhost/databasename’;

    ---------- Post added at 10:12 AM ---------- Previous post was at 09:52 AM ----------

    ok the problem seems to be something else: this is the message.

    The mysqli error was: Access denied for user 'maar10w_opium'@'10.33.248.75' (using password: YES).

    anyone know how to fix htis?

  2. #2
    GtoXic is offline x10 Lieutenant GtoXic is an unknown quantity at this point
    Join Date
    Apr 2010
    Posts
    447

    Re: data for php.settings in drupalsite

    don't use localhost, that's the problem. Use
    Code:
    $db_url = 'mysqli://username:password@SERVERURL/databasename';
    instead
    █ x10 Lieutenant
    █ If I have helped, please click the star in the bottom left of my post.

    █ Free Hosting support volunteer 410 posts from Community Advocate (This is NOT live!)


  3. #3
    callumacrae's Avatar
    callumacrae is offline not alex mac callumacrae is just really nice
    Join Date
    Dec 2007
    Location
    Wellesbourne, England
    Posts
    5,162

    Re: data for php.settings in drupalsite

    Use localhost, not the IP, eg:

    Code:
    $db_url = 'mysqli://maar10w_opium:yourpassword@localhost/yourdatabase';
    Leave "localhost" as it is.
    I can customise your phpBB board. Send me a PM.
    lynxphp - info, tutorials and scripts
    "A forum post should be like a skirt; long enough to cover the subject but short enough to keep things interesting."

  4. #4
    callumacrae's Avatar
    callumacrae is offline not alex mac callumacrae is just really nice
    Join Date
    Dec 2007
    Location
    Wellesbourne, England
    Posts
    5,162

    Re: data for php.settings in drupalsite

    Use localhost, not the IP, eg:

    Code:
    $db_url = 'mysqli://maar10w_opium:yourpassword@localhost/yourdatabase';
    Leave "localhost" as it is.
    I can customise your phpBB board. Send me a PM.
    lynxphp - info, tutorials and scripts
    "A forum post should be like a skirt; long enough to cover the subject but short enough to keep things interesting."

+ Reply to Thread

Similar Threads

  1. Data Base data for blog destroyed
    By metahive in forum Free Hosting
    Replies: 1
    Last Post: 08-14-2010, 10:34 PM
  2. PHP Settings
    By denzel in forum Free Hosting
    Replies: 3
    Last Post: 06-28-2010, 05:49 AM
  3. cPanel CGI Settings vanished after movement of data to new location
    By notebookbatteryinfo in forum Free Hosting
    Replies: 0
    Last Post: 04-20-2010, 10:12 AM
  4. DNS Settings
    By proudworks in forum Free Hosting
    Replies: 1
    Last Post: 12-22-2007, 12:59 AM
  5. PHP settings.
    By daspork in forum Free Hosting
    Replies: 1
    Last Post: 11-01-2007, 11:41 AM

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