| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5052|Reply: 10
Collapse the left

Can ı install 2 Discuz website to 1 Database?

[Copy link]

 Turkey

Post time: 2013-10-25 22:47
| Show all posts |Read mode
Can ı install 2  Discuz website to 1 Database?

Post time: 2013-10-25 23:04
| Show all posts
Yes you can but 2nd installation must have different prefix.

 Turkey

 Author| Post time: 2013-10-25 23:13
| Show all posts
Only database infos same or  admins names and password same?
Post time: 2013-10-25 23:49
| Show all posts
Put all informations the same without prefix.

Example:
######## forum 1forum 2
SQL Host localhostlocalhost
DB Nameforum_1forum_1
DB Userrootroot
DB Passtest123test123
DB Prefixdiscuz_1discuz_2
Admin
adminmypass123
Password
adminmypass123
Site URL
www.myforum.com/discuz1www.myforum.com/discuz2

 Turkey

 Author| Post time: 2013-10-26 14:16
| Show all posts
Okey thanks ı will try it

Comments

See my reply  Post time 2013-10-26 16:23

 Palestine

Post time: 2013-10-26 16:23
| Show all posts
No , i think kaaleth understood wrong ,

i think you want from same admin and same password to login 2 forums
you can but by other way , because this way is wrong


You can connect 2 forums by Ucenter !  just in Ucenter config use one databese ( 1st Ucenter database  or the 2nd )

   


Note: Each forum have two databases :-

1- forum database eg " pre_test"  and config file founded in ./config/config_global.php  file

  2- Ucenter database eg "uc_pre_test" or "ucenter_pre_test" ./config/config_ucenter.php file   and /uc_server/data/config_inc.php  file  >>>>> WANTED TO EDIT

for example :-

the 1st forum Ucenter  database name is " ucenter_pre_test "
the 2nd forum Ucenter  database name is " ucenter_pre_test2 "

use use one value for two Ucenter config  files   "" ucenter_pre_test "" or "" ucenter_pre_test 2"" in tow config file for Ucneter i mean in " ./config/config_ucenter.php file   and " /uc_server/data/config_inc.php  " file


after it each user can login in two forums by one password


Bye !

 Turkey

 Author| Post time: 2013-10-26 19:28
| Show all posts
Thanks for reply

I want

Run 2 forum via 1 mysql database

 Palestine

Post time: 2013-10-26 19:40
| Show all posts
Pme 2013-10-26 18:28
Thanks for reply

I want

So apply first way
Post time: 2013-10-26 22:01
| Show all posts
Would you like to have common admin account for two forums running at Discuz! X ? If yes, try Khalid's solution.

Your request isn't clarity for me.

 Turkey

 Author| Post time: 2013-10-26 23:46
| Show all posts
I want use 1 mysql database for 2 forum and Dont want 1 admin.I do it thanks for reply guys
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-10-06 06:28 GMT+3 , Processed in 0.094459 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list