Hello friends
I have a doubt about how to make a start script to launche services and do
some stuff every time that fedora boots...
I created a script
/etc/rc.d/init.d/MyStartupScript rwxr-xr-x
rm -fr /tmp/*
rm -fr /tmp/.*
mysqld_safe --user=mysql &
but it simply does nothing... I have Fedora
d a command to allow access
that posted another user on my thread, but didn't work... How can I unlock
it? I've never used SELinux...
Thanks for your help!
On Mon, Jan 23, 2012 at 1:04 PM, bruce wrote:
> are you running selinux?
>
>
> On Mon, Jan 23, 2012 at 1:05 PM, Fedo
MySQL side, it should be the PHP or
the connector from PHP to MySQL... or I don't know, it simply does not work
:(
What can I do? I need to test and run the application on my local computer
not the server
Thanks!
On Mon, Jan 23, 2012 at 12:40 PM, Daniel J Walsh wrote:
> -BEGIN PG
# setsebool httpd_can_network_connect_db on
I have just tried, but still does not work:
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13)
Any other idea?
Connecting manually it works
$ mysql -u root -h localhost -p
Enter password:
Welcome to the MySQL monitor.
ou access mysql from the cmdline..
>[i assume you can]
> -what are the permissions on the mysql db/tbls? have they changed?
> --did you stop/restart mysql?
> -what do the mysql logs say?
>
> let us know..
>
>
> On Sun, Jan 22, 2012 at 12:28 PM, Mike Wright
> wrote:
>
Hello
I have a web application but it is not working on my Fedora 16 with PHP,
for some reason it is unable to connect to the MySQL server, it returns the
error:
[Sun Jan 22 08:40:24 2012] [error] [client ::1] PHP Warning:
mysql_connect(): Can't connect to local MySQL server through socket
'/var
Hello
I have Fedora 16 for x86_64, from time to time it sends the error
"nepomukindexer was killed by signal 6 (SIGABRT)" thru the Automatic Bug
Reporting Tool, but now it keeps sending the error every 20 or 30 seconds
and there are lots of instances of nepomuxindexer running at the same time
one