Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-2012, 10:34 PM
Intermediate Member
 
Posts: 19
Default mysqli extension is missing

Hello,

I have managed to use the inbuilt apache shipped with zimbra, running at port 7780.
I have placed the phpmyadmin there, but when call it, I get error as

Code:
The mysqli extension is missing. Please check your PHP configuration.
How can I install the required extension within zimbra ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-02-2012, 10:53 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by jbakshi View Post
I have managed to use the inbuilt apache shipped with zimbra, running at port 7780.
Not a good idea.

Quote:
Originally Posted by jbakshi View Post
I have placed the phpmyadmin there, but when call it, I get error as
I'm not surprised.

Quote:
Originally Posted by jbakshi View Post
How can I install the required extension within zimbra ?
Do not do this. It's not intended that users modify any components of Zimbra, you may break your ZCS installation and none of the changes you make will survive an upgrade. Any modification of ZCS components is totally unsupported and if you do modify them you will not be able to file bugs for them and you will receive no support, you're on your own.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-02-2012, 11:51 PM
Intermediate Member
 
Posts: 19
Default

Thanks for your kind attention and information. Then I think the better way is just to add a remote user to zimbra mysql and call it from a phpmyadmin running on local PC.
What is your opinion ?

Thnaks
Reply With Quote
  #4 (permalink)  
Old 01-02-2012, 11:57 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by jbakshi View Post
Thanks for your kind attention and information. Then I think the better way is just to add a remote user to zimbra mysql and call it from a phpmyadmin running on local PC.
What is your opinion ?
I've already said that you should not modify any Zimbra components, that also includes the MySQL database - you may break your server by doing this and any changes will not survive an upgrade of Zimbra.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 01-03-2012, 12:14 AM
Intermediate Member
 
Posts: 19
Default

hmmm ... then what will be the alternative to use a phpmyadmin ?
Should I just install the apache and mysql on the same server ?
Though I hesitate to do such if it breaks zimbra.....
Reply With Quote
  #6 (permalink)  
Old 01-03-2012, 12:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by jbakshi View Post
hmmm ... then what will be the alternative to use a phpmyadmin ?
Don't use it and leave the MySQL database alone. Perhaps if you gave some information about what you're trying to do someone may be able to advise you.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 01-03-2012, 02:04 AM
Intermediate Member
 
Posts: 19
Default

Understanding the risk, I have not modified anything but like to browse the mysql through phpmyadmin only. I have already found user zimbra is a remote user from mysql user table

% | zimbra | *2D43FEBAD723A8260359BC3CB18BB1AE48DFB385 |

I have collected it's password from *zmlocalconfig -s* and successfully log into the mysql server within zimbra

mysql -u zimbra -p -h localhost -P 7306

But from my local box when I gtry the same with -h / -h
I get

ERROR 2003 (HY000): Can't connect to MySQL server

What am I missing here ? Should I need to install mysql-client on the zimbra server and modify it's sockect ?

Thanks
Reply With Quote
  #8 (permalink)  
Old 01-03-2012, 04:22 AM
Intermediate Member
 
Posts: 19
Default

solved..
have to comment bind-address=localhost at my.cnf and restart mysql
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.