Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

I am desperet my silverstrip PHP cannot connect, because I had remote login removed on Debian


Go to End


3 Posts   1769 Views

Avatar
yogagro

Community Member, 2 Posts

22 March 2015 at 3:57am

Edited: 26/03/2015 10:08pm

I am getting problem with installing Silverstripe and I guess It is something that my remote login has been removed by security script for Mysql. Can you plz help how to allow my remote login on Debian again plz? I susspect that the connection between PHP and Mysql is not working.
I am getting following messages as below. how I may check if my php is working correctly. I wish to use composer for installation, and for module update. All components are downloaded correctly.

Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50540 Library:100017 in /home/project/office/dev/framework/dev/install/MySQLDatabaseConfigurationHelper.php on line 97

Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50540 Library:100017 in /home/project/office/dev/framework/dev/install/MySQLDatabaseConfigurationHelper.php on line 52

Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50540 Library:100017 in /home/project/office/dev/framework/dev/install/MySQLDatabaseConfigurationHelper.php on line 52

Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50540 Library:100017 in /home/project/office/dev/framework/dev/install/MySQLDatabaseConfigurationHelper.php on line 120

I would really need some hint. IMO it is something with conenctor to Mysql, and I have no idea where to start, i am completely new to this SW.
PLZ PLZ PLZ HELP
I have tried completely reinstall my Mariadb, and it did not helped. I think the installation is stoped at this point. Admin account is not installed despite all DB tables looks to be on place. Here is a part of output in the 2 step of installation:

Setting up 'mysite/_config.php'...
Setting up /home/project/office/test/shop/mysite/_config.php
Setting up '.htaccess' file...
Setting up /home/project/office/test/shop/.htaccess
Building database schema...

PLPLLPLZ help

Avatar
Pyromanik

Community Member, 419 Posts

26 March 2015 at 1:52am

This seems like a server configuration issue, not a silverstripe issue.

http://stackoverflow.com/questions/10759334/headers-and-client-library-minor-version-mismatch

Avatar
yogagro

Community Member, 2 Posts

26 March 2015 at 10:05pm

Hello Pyromanik,
I am really happy for your upload. Now I see I was stucked in my thoughts for 3 days and you really relleased that big stone. I tried all possibilities about remote access as I thout that the annonymous account is missing etc.. but aactually I did not try to reinstall php-mysql deamon because i did not thought that it couldbe the problem as I did several times during these days. So my solution for MariaDB was:

Remove this version of the mysql driver
# apt-get remove php5-mysql
And install this instead
# apt-get install php5-mysqlnd

Now I am free to enjoy my life. Thank you.