Skip to content

MySQL is not accessible from public ip installed on linux

I have debian linux system.I installed MySQL on it.I am not able to access it from public access. I edited /etc/mysql/my.cnf and changed bind-address=127.0.0.1 to my server address and then restarted mysql service. But when I restart mysql service it is showing Warning: World-writable config file ‘/etc/…

debugging long running PHP script

I have php script running as a cron job, extensively using third party code. Script itself has a few thousands LOC. Basically it’s the data import / treatment script. (JSON to MySQL, but it also makes a lot of HTTP calls and some SOAP). Now, performance is downgrading with the time. When testing with a …

C compiler cannot create executables on OpenSUSE

I’ve tried to compile xdebug from sources, but I become this output: There is my config.log. I’ve found possible error: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file ‘/usr/lib/crt1.o’ is incompatible with i386:x86-64 output /…

C Web Browser Download File

WebkitGTK+ API Reference What I’m trying to do is run my HTML5 app on Linux that way I and my users can still use my app without relying on an internet connection. My problem is when I go to download say a zip file. The download doesn’t execute because there isn’t an adequate url for the fil…

How to print file/directory details using ls and AWK?

I am trying to print the output as below using the command: or But it does not print anything. O/P should be like, (I am using 0777 or 777 because of find . -type f -perm 0777) Answer you’ve got the right idea, but 777 is the octal representation of permissions, and with this you’re looking at the…