The 2nd journey begins… Mandriva 2006 upgrade 2 – Part 9



Still running the qemu image (and downloaded another image from the freeoszoo while I was waiting for the installer.) Anyway… I’ve turned my attention to mythtv and since it’s the same version went to test if it was working well. Let’s see… for starters, since the local machine had seen a mysql upgrade (and the installer didn’t think I needed to run mysql at boot…) I had to do…


#chkconfig –level 345 mysqld on
#mysqld start
#service mythbackend restart

On the local machine (encoding machine.) Tested and mythfrontend found things fine… so the next step was to see if network mythfrontend clients could still connect. They couldn’t and complained about not being able to connect to the mysql server.

The default setup for Mandriva is pretty good when you think about it. Mysql (d) is configured by default to NOT listen on the network, but to use a socket file for localhost only connections. Now, since long ago I’d done the database permission change to allow other mythfrontends to use the database I just had to remember where to allow it to listen on a tcp port. The /etc/my.cnf file seemed promising, but adding port=3306 there didn’t make a difference. (In fact it failed to load.)

So, after reading the /etc/rc.d/init.d/mysqld file for clues, I noticed that in Mandriva, mysqld looks in /etc/sysconfig/mysqld for extra options… where I found the following line…

MYSQLD_OPTIONS=”–skip-networking”

commented it out and restarted mysqld (service mysqld restart), tested with…

netstat -a | grep mysql and saw

tcp 0 0 *:mysql *:* LISTEN

Which looked promising, then tested from remote to prove that all was good.

Related Posts

Blog Traffic Exchange Related Posts
  • Google Voice Review | I got the golden ticket.... Last Thursday I opened up my GMail and found to my surprise that I had an invite to Google Voice. I didn't have time to deal with it at that time, so I saved it as new until Thursday evening and spent some time then playing with it. I had......
  • OpenVPN The last time I used openvpn, it was version 1.x and only supported a single connection per running process. So, if you had a server that you wanted to support multiple clients connecting, you had to... have multiple ports open to the outside world (unless you did something VERY fancy),......
  • Virtual Server on Apache to listen on an alternate port In the last few days, I had to set up something a bit unusual with apache. Basically the goal was to have apache listen for connections on two different ports (the standard port 80 and an alternate port 85). The problem was that I wanted different content at each port.......
Blog Traffic Exchange Related Websites
  • Not Allowed To Edit Post In Wordpress Another Wordpress Error! [/caption] Nothing like getting a dreaded wordpress error message. At first I was going to document how I solved my problem. 26 frustrating hours later, I decided to just point you in the right direction because the answer isn't a one size fits all answer. The only......
  • Lobster Elite Model 3 Tennis Ball Machine One of the best ways to practice tennis is to use a ball machine, but these can be expensive. If you have your own home court, or you play at a public court system where there isn’t a ball machine on site, buying your own is an option that many......
  • How To Start An Online Article Directory Article marketing is a great way for online businesses to market not only their business but themselves through the content they write. A key to article marketing though is placing the article somewhere where people will be able to see it, which is where article directories come in. This article......
PDF24    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site