Mibew Messenger Community

General => Support => Topic started by: weblover on February 28, 2012, 05:02:48 AM

Title: If server has the name of webim in the database,how can install the messanger?
Post by: weblover on February 28, 2012, 05:02:48 AM
When I create the database for webim,but the username webim already exists,I can't use the username for my database. Please let me know how to solve the problem and install mebew messenger in my website?
Title: Re: If server has the name of webim in the database,how can install the messanger?
Post by: Dmitriy Simushev on February 28, 2012, 07:28:21 AM
Hi,

You can always set prefix for mibew databases in the $mysqlprefix variable in libs/config.php.

Dmitriy
Title: Re: If server has the name of webim in the database,how can install the messanger?
Post by: weblover on February 29, 2012, 04:01:41 PM
Thanks for your answer. Can you tell me the details?

If I change mysqlprefix "" in libs/config.php,how can I set prefix for mibew database?

That means:I set mysqlprefix " Ilike" ,then when I create database by the username Ilike-webim,

Is that right?
Title: Re: If server has the name of webim in the database,how can install the messanger?
Post by: Dmitriy Simushev on February 29, 2012, 06:53:06 PM
Hi,

$mysqlprefix it's the prefix for mysql tables, not for database.
I'm sorry, but i'm not really understand your question. Can you please define it more exactly?

Dmitriy
Title: Re: If server has the name of webim in the database,how can install the messanger?
Post by: weblover on March 01, 2012, 11:01:00 AM
Dmitriy,Thanks for your reply.

The problem is that I can not create the database for my website by the username of webim because somebody has created webim already.

Now i want to use mibew messenger. Can you tell me how to create database and install mibew messenger in my website?
Title: Re: If server has the name of webim in the database,how can install the messanger?
Post by: Dmitriy Simushev on March 01, 2012, 03:12:31 PM
Hi,

Try to change $mysqldb parameter in webim/libs/config.php to
the name that deffers from 'webim' (for example it can be called 'another_webim')
and install mibew, by typing http://yourhost/webim/install/ in a browser address line.
If your mysql user have permission to creating databases, the 'another_webim'
database would created automatically.

But if your mysql user have no such permissions you must manually create this
database, next specify in $mysqldb the name of the created database and after all install mibew.

Hope it helps,
Dmitriy.
Title: Re: If server has the name of webim in the database,how can install the messanger?
Post by: weblover on March 05, 2012, 07:58:11 PM
Thanks Dmitriy.

I tried a few times,but failed . The information is as follows:
Follow the wizard to setup your database.
 Correct the mistakes:

Please, check file /vogueweb/chat_webim/libs/config.php
Wrong value of $chat_webimroot variable, should be "/vogueweb/chat_webim".

In fact, i changed webim/libs/config.php to chat_webim already. But i can't install it.

Please give me a hand.
Title: Re: If server has the name of webim in the database,how can install the messanger?
Post by: Dmitriy Simushev on March 06, 2012, 03:31:09 PM
Hi,

As I think, you need to set $webimroot variable to '/vogueweb/chat_webim' in config.php.

Dmitriy