English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: How to create a new DB?
#9724
How to create a new DB? 12 Years, 1 Month ago Karma: 0
Hello!

How to create a new DB for a slave site? I enter:
DB host: localhost
DB name: city
DB prefix: city_
DB user: root
DB password:
(password is empty)

I click to "Save" and see an error: Database Error: Unable to connect to the database:Could not connect to database.

I open a file multisites.cfg.php and enter:
define( 'MULTISITES_DB_GRANT_HOST', 'localhost');
define( 'MULTISITES_DB_ROOT_USER', 'root');
define( 'MULTISITES_DB_ROOT_PSW', '');

Where is an error?
Or I have misunderstood also a database it is necessary to create independently through phpMyAdmin.
lautes
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9735
Re: How to create a new DB? 12 Years, 1 Month ago Karma: 54
As the PSW is empty, if you have entered a PSW somewhere else, it will probably use the password your DB to copy or new DB to copy.

I suggest that you create a specific "root" user with a password.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla