Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2010
    Posts
    14
    Plugin Contributions
    0

    Default How do I change the MySQL "localhost" address in my Admin to something else?

    Hi everyone,

    My hosting provider is changing their setup and has let all their clients know that we will no longer be able to use "locahost" as our hosting address for any/all MySQL databases.

    I have looked everywhere in ZenCart Admin with no luck. Where can I change the host from "localhost" to the new hosting address?

    Thanks in advance for any help.

    Fretty

  2. #2
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,916
    Plugin Contributions
    3

    Default Re: How do you change your MySQL "localhost" address in ZenCart Admin to something el

    Quote Originally Posted by Fretty View Post
    Hi everyone,

    My hosting provider is changing their setup and has let all their clients know that we will no longer be able to use "locahost" as our hosting address for any/all MySQL databases.

    I have looked everywhere in ZenCart Admin with no luck. Where can I change the host from "localhost" to the new hosting address?

    Thanks in advance for any help.

    Fretty
    They appear to be "moving" the databases to a separate server... not a very good move, I don't think. In fact, its a RETROGRESSIVE move - probably doing this so they can stuff their servers with more sites.

    I would consider finding a different host if I were you.

    In any event... the location of the database is set in your two configure.php files, so you will need to edit these files to point to the new location.

    /includes/configure.php
    and
    YOUR_ADMIN-FOLDER/includes/configure.php

    The PERMISSIONS (CHMOD) of these files could be 0444 meaning they will need to be given WRITE permissions before they can be edited. (0644).

    When you have edited the files, CHMOD them back to 0444.
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

 

 

Similar Threads

  1. How can I change the title 'Categories' to something else?
    By nickohorny in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Jun 2011, 03:03 PM
  2. How to change page_2 / _3 / _4 name to something else?
    By rivodaddy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Sep 2010, 02:04 AM
  3. how to change the "best way" to something else?
    By lina0962 in forum Addon Shipping Modules
    Replies: 2
    Last Post: 25 Jan 2007, 11:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •