<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Mysql installation</title>
		<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation</link>
		<description>Posts in the discussion thread &quot;Mysql installation&quot; - about installing Mysql</description>
				<copyright></copyright>
		<lastBuildDate>Thu, 21 May 2026 17:18:00 +0000</lastBuildDate>
		
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-1376280</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-1376280</link>
				<description></description>
				<pubDate>Fri, 17 Feb 2012 13:47:58 +0000</pubDate>
				<wikidot:authorName>gameferrit</wikidot:authorName>				<wikidot:authorUserId>1309804</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi</p> <p>Could someone help me out please. I have tried to install mysql5 onto mybookworld white light using</p> <div class="code"> <pre><code>ipkg install mysql5</code></pre></div> <p>I get the following error message</p> <p>Configuring mysql5<br /> Starting MySQL. ERROR! Manager of pid-file quit without updating file.<br /> postinst script returned status 1<br /> ERROR: mysql5.postinst returned 1</p> <p>I'm a total linux noob so I'd appreciate any help you could give.</p> <p>Thank you</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-1254570</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-1254570</link>
				<description></description>
				<pubDate>Fri, 09 Sep 2011 13:10:22 +0000</pubDate>
				<wikidot:authorName>bourgeoa</wikidot:authorName>				<wikidot:authorUserId>455079</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>@ barteska1</p> <p>Which MyBook are you using ?<br /> and what Mysql installation did you try ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-1254390</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-1254390</link>
				<description></description>
				<pubDate>Fri, 09 Sep 2011 08:06:38 +0000</pubDate>
				<wikidot:authorName>barteska1</wikidot:authorName>				<wikidot:authorUserId>1194186</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi, after mysql instalation (which failed) i lost UI web, it is posible to fix it? resinstall OS or hard firmware reset or somethink like this. thx for answer</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-417385</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-417385</link>
				<description></description>
				<pubDate>Mon, 16 Mar 2009 02:57:23 +0000</pubDate>
				<wikidot:authorName>animepix60563</wikidot:authorName>				<wikidot:authorUserId>293759</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>At thi point i would like to bring in my question, sorry i should hav posed it here but here goes,</p> <p><a href="http://mybookworld.wikidot.com/forum/t-136076/need-help-ssh-not-working-please-read#post-406007">http://mybookworld.wikidot.com/forum/t-136076/need-help-ssh-not-working-please-read#post-406007</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-402371</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-402371</link>
				<description></description>
				<pubDate>Tue, 03 Mar 2009 07:47:06 +0000</pubDate>
				<wikidot:authorName>Dixtrian</wikidot:authorName>				<wikidot:authorUserId>292095</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi all,</p> <p>I have done my install with optware at the end I have tried to do:</p> <div class="code"> <pre><code>/oopt/bin/mysqladmin -u root password mypwd</code></pre></div> <p>I had an error but fixed now.<br /> Now I have another error but can't find how to fix it.<br /> When I try this line:</p> <div class="code"> <pre><code>/opt/bin/mysqladmin -u root -h My_server_name password mypwd</code></pre></div> <p>I get:</p> <div class="code"> <pre><code>/opt/bin/mysqladmin: connect to server at 'Server_salon' failed error: 'Lost connection to MySQL server during query'</code></pre></div> <p>Thx for your help!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-389086</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-389086</link>
				<description></description>
				<pubDate>Wed, 18 Feb 2009 19:38:14 +0000</pubDate>
				<wikidot:authorName>MaxPayne</wikidot:authorName>				<wikidot:authorUserId>255677</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK it's fine.<br /> I put mybook on another linux but i do this to see my folders</p> <p>sudo modprobe md<br /> $ sudo mknod /dev/md4&#160;b 9&#160;4<br /> $ sudo apt-get install mdadm<br /> $ sudo mdadm &#8212;assemble /dev/md4 /dev/sdb4<br /> $ sudo mkdir /media/xyz<br /> $ sudo mount /dev/md4 /media/xyz<br /> $ sudo chmod -R 777 /media/xyz</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-386907</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-386907</link>
				<description></description>
				<pubDate>Mon, 16 Feb 2009 21:55:54 +0000</pubDate>
				<wikidot:authorName>MaxPayne</wikidot:authorName>				<wikidot:authorUserId>255677</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi all,</p> <p>First i'am French ^^</p> <p>Since i have installed Mysql ssh is down and every http acces (https to). Ftp is ok, samba is ok. I have installed Screen too, but i don't think is that. Transmission steal work too</p> <p>i need some help thank</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-284346</guid>
				<title>Someone please post a complete Mysql guide for newbie</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-284346</link>
				<description></description>
				<pubDate>Wed, 15 Oct 2008 17:36:13 +0000</pubDate>
				<wikidot:authorName>gameboyy</wikidot:authorName>				<wikidot:authorUserId>221490</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Can someone please post a complete detail Mysql guide for newbie like me? Like what tcblack did on the second post, but a complete guide. Thanks so much. I'm currently stuck on the first part (C_EXTRA_FLAGS), putty doesn't let me paste that much code. Maybe I just don't understand it yet. :)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-210368</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-210368</link>
				<description></description>
				<pubDate>Sun, 29 Jun 2008 21:45:36 +0000</pubDate>
				<wikidot:authorName>DarkWan</wikidot:authorName>				<wikidot:authorUserId>157952</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Try to install php-mysql support:<br /> <strong>ipkg install php-mysql</strong><br /> mysql.so will be installed into extensions dir and auto configured<br /> I hope this will be useful</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-92364</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-92364</link>
				<description></description>
				<pubDate>Wed, 16 Jan 2008 16:12:28 +0000</pubDate>
				<wikidot:authorName>pjeterinfo</wikidot:authorName>				<wikidot:authorUserId>69276</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Installed Mysql succesfull, but I need the php extension mysql.so to work in order to use CMS packages(JOOMLA) and phpmyadmin. This is not possible I think.<br /> Currently my mybook is running JIMBO cms which is allso works with sqlite and flat dbs.<br /> Performance is very bad as php-cgi uses 90% recources. It try to fine tune the performance but I think this will be it.</p> <p>Enabled swat on MyBook World binariesare.mine.nu</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-90716</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-90716</link>
				<description></description>
				<pubDate>Sun, 13 Jan 2008 15:30:55 +0000</pubDate>
				<wikidot:authorName>natsuco</wikidot:authorName>				<wikidot:authorUserId>43726</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>hi,</p> <p>can you give me the good command C_EXTRA_FLAGS &#8230; i can copy past on my terminal,</p> <p>Thanks you,</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-81920</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-81920</link>
				<description></description>
				<pubDate>Wed, 19 Dec 2007 15:41:32 +0000</pubDate>
				<wikidot:authorName>edgecrush3r</wikidot:authorName>				<wikidot:authorUserId>55763</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>[root@WD mysql]# chown -R mysql var<br /> cannot access ‘var’: No such file or directory</p> <p>the var directory is located in the root folder so try:<br /> chown -R mysql <strong>/var</strong></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-81915</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-81915</link>
				<description></description>
				<pubDate>Wed, 19 Dec 2007 15:34:28 +0000</pubDate>
				<wikidot:authorName>edgecrush3r</wikidot:authorName>				<wikidot:authorUserId>55763</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It realy shouldnt be that difficult, and pretty much same on any machine. (so also a bit off topic.. else i could start a PHP column on this forum, and would be as helpfull :P)..<br /> In general.. just change the lines you feel like changing. Or just leave default :P<br /> <a href="http://www.mysql.org/">http://www.mysql.org/</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-81565</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-81565</link>
				<description></description>
				<pubDate>Tue, 18 Dec 2007 21:19:30 +0000</pubDate>
				<wikidot:authorName>OutrageouS90</wikidot:authorName>				<wikidot:authorUserId>52123</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>does any1 can tell me how should i edit my.cnf</p> <p>There are lot of filings.. What shuld i do. PLEASE HELP!!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-81431</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-81431</link>
				<description></description>
				<pubDate>Tue, 18 Dec 2007 19:50:34 +0000</pubDate>
				<wikidot:authorName>OutrageouS90</wikidot:authorName>				<wikidot:authorUserId>52123</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>How can i add usernames?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-81429</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-81429</link>
				<description></description>
				<pubDate>Tue, 18 Dec 2007 19:43:54 +0000</pubDate>
				<wikidot:authorName>OutrageouS90</wikidot:authorName>				<wikidot:authorUserId>52123</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>[root@WD mysql]# chown -R mysql var<br /> cannot access &#8216;var&#8217;: No such file or directory</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-81268</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-81268</link>
				<description></description>
				<pubDate>Tue, 18 Dec 2007 11:03:44 +0000</pubDate>
				<wikidot:authorName>edgecrush3r</wikidot:authorName>				<wikidot:authorUserId>55763</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Could be all sorts of things.. please check the log files.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-81001</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-81001</link>
				<description></description>
				<pubDate>Mon, 17 Dec 2007 22:02:58 +0000</pubDate>
				<wikidot:authorName>OutrageouS90</wikidot:authorName>				<wikidot:authorUserId>52123</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Starting mysqld daemon with databases from /srv/mysql<br /> STOPPING server from pid file /srv/mysql/WD.pid<br /> 071210&#160;04:35:26 mysqld ended</p> <p>What is it??</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-80168</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-80168</link>
				<description></description>
				<pubDate>Sat, 15 Dec 2007 18:22:57 +0000</pubDate>
				<wikidot:authorName>OutrageouS90</wikidot:authorName>				<wikidot:authorUserId>52123</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>testdir the 18 hour process is needed certain? What going to happen when i dont do that test?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-62080</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-62080</link>
				<description></description>
				<pubDate>Fri, 26 Oct 2007 14:12:15 +0000</pubDate>
				<wikidot:authorName>tcblack</wikidot:authorName>				<wikidot:authorUserId>37714</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The socket is created when Mysqld is running. When the daemon isn't running, the socket isn't there. The message means precisely what it says.</p> <div class="code"> <pre><code>/etc/init.d/mysql.server start</code></pre></div> <br /> will fix the problem until the next reboot. <p>If you want mysql to start, than you need to recognize that WDMBWE is designed to start only those scripts starting with S in the init.d directory. So you can simply create a symlink in the directory in order to cause an autostart.</p> <div class="code"> <pre><code>ln -s /etc/init.d/mysqlserver /etc/init.d/S40mysqlserver</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-61906</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-61906</link>
				<description></description>
				<pubDate>Thu, 25 Oct 2007 19:34:22 +0000</pubDate>
				<wikidot:authorName>natsuco</wikidot:authorName>				<wikidot:authorUserId>43726</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>hi all, thanks for your help &#8230; i have a new pb !</p> <p><strong>for all mysql command :</strong></p> <div class="code"> <pre><code>error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (111)' Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists!</code></pre></div> <p>thanks</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-60929</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-60929</link>
				<description></description>
				<pubDate>Mon, 22 Oct 2007 21:32:00 +0000</pubDate>
				<wikidot:authorName>galmiche</wikidot:authorName>				<wikidot:authorUserId>42814</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I confirm to you that I too have had to create as root the directory: /srv<br /> This one didn't exist with original mybook tree.<br /> ( I also created /srv/mysql, but I think mysql creates itself. To be tested)/</p> <p>Sincerelly<br /> Hervé</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-60923</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-60923</link>
				<description></description>
				<pubDate>Mon, 22 Oct 2007 21:04:37 +0000</pubDate>
				<wikidot:authorName>tcblack</wikidot:authorName>				<wikidot:authorUserId>37714</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>it looks like you need to create the srv directory as root.<br /> best check to make sure that it's not there before you try to create it.</p> <div class="code"> <pre><code>mkdir /srv</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-60422</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-60422</link>
				<description></description>
				<pubDate>Sun, 21 Oct 2007 12:33:34 +0000</pubDate>
				<wikidot:authorName>natsuco</wikidot:authorName>				<wikidot:authorUserId>43726</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi after type the command : /usr/bin/mysql_install_db &#8212;user=mysql</p> <div class="code"> <pre><code>cannot create directory `/srv/mysql': No such file or directory cannot access `/srv/mysql': No such file or directory cannot create directory `/srv/mysql/mysql': No such file or directory cannot access `/srv/mysql/mysql': No such file or directory cannot create directory `/srv/mysql/test': No such file or directory cannot access `/srv/mysql/test': No such file or directory cannot access `/srv/mysql': No such file or directory cannot access `/srv/mysql/mysql': No such file or directory cannot access `/srv/mysql/test': No such file or directory Installing all prepared tables 071021 6:50:54 [Warning] Can't create test file /srv/mysql/MyBookWorld.lower-test /usr/sbin/mysqld: Can't change dir to '/srv/mysql/' (Errcode: 2) 071021 6:50:54 [ERROR] Aborting 071021 6:50:54 [Note] /usr/sbin/mysqld: Shutdown complete Installation of system tables failed! Examine the logs in /srv/mysql for more information. You can also try to start the mysqld daemon with: /usr/sbin/mysqld --skip-grant &amp; You can use the command line tool /usr/bin/mysql to connect to the mysql database and look at the grant tables: shell&gt; /usr/bin/mysql -u root mysql mysql&gt; show tables Try 'mysqld --help' if you have problems with paths. Using --log gives you a log in /srv/mysql that may be helpful. The latest information about MySQL is available on the web at http://www.mysql.com Please consult the MySQL manual section: 'Problems running mysql_install_db', and the manual section that describes problems on your OS. Another information source is the MySQL email archive. Please check all of the above before mailing us! And if you do mail us, you MUST use the /usr/bin/mysqlbug script!</code></pre></div> <p>I need your help, thx&#8230;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59965</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59965</link>
				<description></description>
				<pubDate>Fri, 19 Oct 2007 17:37:16 +0000</pubDate>
				<wikidot:authorName>natsuco</wikidot:authorName>				<wikidot:authorUserId>43726</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I thx all for your help. I just make a <strong>chown -R root:root /var/empty</strong> and <strong>sudo /usr/sbin/sshd -f /etc/sshd_config</strong> and remove my old <strong>known_hosts file</strong> i just hope it will work a long time.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59919</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59919</link>
				<description></description>
				<pubDate>Fri, 19 Oct 2007 14:48:03 +0000</pubDate>
				<wikidot:authorName>tcblack</wikidot:authorName>				<wikidot:authorUserId>37714</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>try <a href="http://&lt;mybook&gt;/auth/home.pl">http://&lt;mybook&gt;/auth/home.pl</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59918</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59918</link>
				<description></description>
				<pubDate>Fri, 19 Oct 2007 14:46:04 +0000</pubDate>
				<wikidot:authorName>tcblack</wikidot:authorName>				<wikidot:authorUserId>37714</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>the mysql.so file does not exist on my worldbook. Yes I think you made a mistake by uncommenting it.<br /> if you will reconfigure/install PHP with the mysql extensions and reboot that might/should fix your problem.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59624</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59624</link>
				<description></description>
				<pubDate>Thu, 18 Oct 2007 18:49:56 +0000</pubDate>
				<wikidot:authorName>galmiche</wikidot:authorName>				<wikidot:authorUserId>42814</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>/etc/init.d/mysql.server status doesn't work as command line;<br /> it returns: Usage: /etc/init.d/mysql.server start|stop|restart|reload</p> but i used:<br /> [root@MyBookWorld galmiche]# mysqladmin -u root -p status<br /> Enter password:<br /> Uptime: 33900 Threads: 1 Questions: 4 Slow query<br /> <p>So the server is up.</p> <p>In my /usr/local/lib/php.ini, I have: extension_dir = &quot;./&quot; , but no link, nor library msql.so in this path relative to php.ini position .</p> <p>The problem occurs when I run /etc/init.d/lighttpd.sh start .<br /> If I enable the line extension=mysql.so in /usr/local/lib/php.ini then I get:</p> <p>PHP Warning: PHP startup: Unable to load dynamic library './mysql.so' - File not found in unknow on line 0</p> <p>same occurs if I replace mysql.so with msql.so ; none are found by the server at startup.</p> <p>I use php-5.2.3 and mysql 5.0.21</p> <p>Where are located mysql.so or msql.so and who generates it ( mysql compilation or php compilation) ?<br /> Or did I mad a mistake by uncommenting extension=mysql.so in php.ini, and it would mean mysql is not an external library of php, but included during php compiling?</p> <p>Thx<br /> Hervé</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59566</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59566</link>
				<description></description>
				<pubDate>Thu, 18 Oct 2007 17:00:01 +0000</pubDate>
				<wikidot:authorName>tcblack</wikidot:authorName>				<wikidot:authorUserId>37714</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>it may rather be an issue that mysql is not running. It takes some resources to run so it doesn't always start successfully. (I'm working on that).<br /> as root execute</p> <div class="code"> <pre><code>/etc/init.d/mysql.server status</code></pre></div> <p>and see what it's doing. If it's not running</p> <div class="code"> <pre><code>/etc/init.d/mysql.server start</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59496</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59496</link>
				<description></description>
				<pubDate>Thu, 18 Oct 2007 14:03:25 +0000</pubDate>
				<wikidot:authorName>galmiche</wikidot:authorName>				<wikidot:authorUserId>42814</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Do you browser <a href="http://&lt;mybook">http://&lt;mybook</a>&gt; or <a href="http://&lt;mybook&gt;:port">http://&lt;mybook&gt;:port</a> with port!=80 ?<br /> My self , installing php did not changed anything on lighttpd server.<br /> sorry..no idea.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59469</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59469</link>
				<description></description>
				<pubDate>Thu, 18 Oct 2007 12:37:56 +0000</pubDate>
				<wikidot:authorName>natsuco</wikidot:authorName>				<wikidot:authorUserId>43726</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yes i do and it's worked. But i have activate php on my mybook webserver so right now i haven't mybook original portal. Have an new idea ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59428</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59428</link>
				<description></description>
				<pubDate>Thu, 18 Oct 2007 10:48:16 +0000</pubDate>
				<wikidot:authorName>galmiche</wikidot:authorName>				<wikidot:authorUserId>42814</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello,<br /> Have you tryed<br /> <a href="http://martin.hinner.info/mybook/sshaccess.php">http://martin.hinner.info/mybook/sshaccess.php</a><br /> to re enable the ssh by default?<br /> Sincerelly<br /> Hervé</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59421</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59421</link>
				<description></description>
				<pubDate>Thu, 18 Oct 2007 10:08:48 +0000</pubDate>
				<wikidot:authorName>natsuco</wikidot:authorName>				<wikidot:authorUserId>43726</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi, after this action i lost my ssh connection and now, i can't reach ssh since 2 day. I have already change my url link, so right now, i can't retreive my ssh ! Please can you help me ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59418</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59418</link>
				<description></description>
				<pubDate>Thu, 18 Oct 2007 09:54:03 +0000</pubDate>
				<wikidot:authorName>galmiche</wikidot:authorName>				<wikidot:authorUserId>42814</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>It is a problem:<br /> I uncommented this line:<br /> extension=mysql.so<br /> but restarting lighttpd says that it can not fine mysql.so<br /> I tried msql.so , same not found.</p> <p>I followed the process of compiling mysql in this wiki<br /> ending with the classic make install<br /> but, where is located mysql.so and where should I copy it so lighttpd can find it?</p> <p>FYI my libs are in /usr/lib/mysql, but no mysql.so nor msql.so file.</p> <p>Thx<br /> Hervé</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59391</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59391</link>
				<description></description>
				<pubDate>Thu, 18 Oct 2007 07:53:33 +0000</pubDate>
				<wikidot:authorName>galmiche</wikidot:authorName>				<wikidot:authorUserId>42814</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>First,<br /> I will have to add parameters &#8212;with-mysqli=/usr/bin/mysql_config &#8212;with- to the .configure of php:</p> <p>./configure &#8212;without-iconv &#8212;without-pear &#8212;enable-fastcgi &#8212;enable-discard-path &#8212;with-mysqli=/usr/bin/mysql_config &#8212;with-mysql</p> <p>I am doing compilation right now, but I will also have to add extension=mysql.so to php.ini</p> <p>Thx<br /> Hervé</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59184</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59184</link>
				<description></description>
				<pubDate>Wed, 17 Oct 2007 20:35:19 +0000</pubDate>
				<wikidot:authorName>laterring</wikidot:authorName>				<wikidot:authorUserId>38505</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>&quot;php can not load mysql extension&quot;</p> <p>I should have forget either to install something or parameters with php.</p> </blockquote> <p>do you have edited your php.ini to add or uncomment</p> <p>extension=mysql.so (take out the ';')</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-59112</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-59112</link>
				<description></description>
				<pubDate>Wed, 17 Oct 2007 15:55:42 +0000</pubDate>
				<wikidot:authorName>galmiche</wikidot:authorName>				<wikidot:authorUserId>42814</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks work perfectly.<br /> I will open a new post on how to install phpmyadmin<br /> I got error after creating the config.inc.php file and running phpmysql , as it says that<br /> &quot;php can not load mysql extension&quot;</p> <p>I should have forget either to install something or parameters with php.</p> <p>Thx<br /> Hervé</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-58588</guid>
				<title>Re: Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-58588</link>
				<description></description>
				<pubDate>Tue, 16 Oct 2007 16:18:51 +0000</pubDate>
				<wikidot:authorName>tcblack</wikidot:authorName>				<wikidot:authorUserId>37714</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>As you noted the directions on Mysql need some tweaking.<br /> Yes you need to perform a <tt>make install</tt>.<br /> You really need to spend some time reading the <a href="http://dev.mysql.com/doc/refman/5.1/en/installing.html">mysql installation documentation</a>. Pay attention to the Unix issues, including the post-install and security issues.</p> <p>There are some rather unique situations which popped up during my install, unfortunately I did not record them all for posterity. I do know that I now have a working Mysql, PHP, PHPMyadmin configuration. Be mindful that the small processor on the mybook soars to 99.8% (top session) during every mysql request. I'm using it as a playground for different CMS ideas I have but i expect every request to cause a slow down.</p> <p>You'll need to do at least some (if not all) of the following as root:</p> <div class="code"> <pre><code>Make install cp support-files/my-medium.cnf /etc/my.cnf vi /etc/my.conf #make any changes you need to make and save the file using &lt;escape&gt; :wq</code></pre></div> <p>When you try to start the mysql server it will complain about missing libraries so do the following to fix that.<br /> (<em>this will open the file ld.so.conf which is where library locations are identified.<br /> The double arrow &quot;&#187;&quot; means write to the end of the file</em>)</p> <div class="code"> <pre><code>cat &gt;&gt;/etc/ld.so.conf&lt;&lt;EOF /usr/lib/mysql EOF ldconfig -v</code></pre></div> <p>Now it's time to prepare the installation directory to be owned by the mysql user and group which you created earlier using <tt>addgroup -g 40 mysql</tt> and<br /> <tt>adduser -G mysql -H mysql</tt></p> <div class="code"> <pre><code>cd /usr/share/mysql # this is the installation directory of mysql chown -R mysql . #Changes ownership from root to user mysql chgrp -R mysql . # ditto for group ownership /usr/bin/mysql_install_db --user=mysql # this will install the mysql data directory and initialize the grant tables. chown -R root . chown -R mysql var</code></pre></div> <p>There are some security concerns before you really get going too. This is from <a href="http://dev.mysql.com/doc/refman/5.1/en/post-installation.html">the docs</a>:(read the manual, manual good!)</p> <blockquote> <p>After installing MySQL, there are some issues that you should address.<br /> &#8230;On all platforms, an important security concern is that the initial accounts in the grant tables have no passwords.<br /> You should assign passwords to prevent unauthorized access to the MySQL server.<br /> Optionally, you can create time zone tables to enable recognition of named time zones.</p> </blockquote> <p>Take some time to read some of the <a href="http://dev.mysql.com/doc/refman/5.1/en/unix-post-installation.html">post install documentation</a>. Be mindful of course that the directories and file locations you see in the docs might be different from what you're seeing in your MBWE.<br /> Especially vital is a section on <a href="http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html">Securing the Initial MySQL Accounts</a> <strong>&lt;= Read This!</strong></p> <p>When you're all set, start the server:</p> <div class="code"> <pre><code>mysqld_safe --user=mysql &amp;</code></pre></div> <p>If you want it to autostart when you boot:</p> <div class="code"> <pre><code>cp /usr/share/mysql/mysql.server /etc/init.d/</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-23277#post-58474</guid>
				<title>Mysql installation</title>
				<link>http://mybookworld.wikidot.com/forum/t-23277/mysql-installation#post-58474</link>
				<description></description>
				<pubDate>Tue, 16 Oct 2007 10:57:30 +0000</pubDate>
				<wikidot:authorName>galmiche</wikidot:authorName>				<wikidot:authorUserId>42814</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi all,</p> <p>I have followed the hacks to install mysql (see bellow):<br /> the last line is &quot;make testdir=/tmp/mysql&quot;.</p> <p>Question: Isn't any 'make install' to do after that? What is really done, only compiling or any install in some directories?</p> <p>Thx for help.</p> <p>&quot;<br /> cd /opt<br /> wget <a href="http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.21.tar.gz">http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.21.tar.gz</a><br /> tar xfz mysql-5.0.21.tar.gz<br /> mv mysql-5.0.21.tar.gz src<br /> cd mysql-5.0.21<br /> addgroup -g 40 mysql<br /> adduser -G mysql -H mysql<br /> C_EXTRA_FLAGS=-fno-strict-aliasing ./configure &#8212;prefix=/usr &#8212;sysconfdir=/etc &#8212;libexecdir=/usr/sbin &#8212;localstatedir=/srv/mysql &#8212;enable-thread-safe-client &#8212;enable-assembler &#8212;enable-local-infile &#8212;with-unix-socket-path=/var/run/mysql/mysql.sock &#8212;without-debug &#8212;without-bench &#8212;with-readline &#8212;with-berkeley-db &#8212;with-extra-charsets=all</p> <p>make testdir=/tmp/mysql [takes 18 hours]<br /> &quot;</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>