Jump to content

How to modify database address


Go to solution Solved by Randy Calvert,

Recommended Posts

  • Solution

Not sure what you mean by database address.  If you are trying to change your database server info (host/IP) and/or database username and password...  that info would be in your conf_global.php file.  

$INFO = array (
  'sql_host' => 'XXXXXX',
  'sql_database' => 'YYYY',
  'sql_user' => 'ZZZZ',
  'sql_pass' => 'AAAA',
  'sql_port' => 3306,

Link to comment
Share on other sites

I'm not sure what you are meaning by that. Or if you are trying to modify the current database name, like @Randy Calvert said, follow this steps.

1. Connect in your FTP.
2. Go to File Manager » public_html » Where your IPS Suite is Installed and than find conf_global.php
3. Right click on conf_global.php than press edit. And there you should have all the database informations you need.

After you opened it, It should look like this.
 

<?php

$INFO = array (
  'sql_host' => 'localhost',
  'sql_database' => 'database_name',
  'sql_user' => 'database_user',
  'sql_pass' => 'database_password',
  'sql_port' => 1111,
  'sql_socket' => '/var/lib/mysql/mysql.sock',
  'sql_tbl_prefix' => '',
  'sql_utf8mb4' => true,
  'board_start' => 69696969,
  'installed' => true,
  'base_url' => 'https://yourcommunityname.com/',
  'guest_group' => 1,
  'member_group' => 1,
  'admin_group' => 1,
);



But if it's mysql related to linux. Here is a documentation about MySQL.
https://dev.mysql.com/doc/

Edited by drawncodes.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...