ããã¯ãã¼ã¯ãã¾ãã ããã«ãã¤ã¼ãå 容ãè¨è¼ããã¾ã https://b.hatena.ne.jp/URLã¯spanã§å²ãã§ãã ãã Twitterã§å ±æ
MySQLãã®ã¤ã³ã¹ãã¼ã«æ¹æ³(ã³ã³ãã¤ã«ã§ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã§ã) ãã¼ã¸ã§ã³ã¯ 5.1.30 ã§è§£èª¬ãã¾ãããã¼ã¸ã§ã³ãéã£ã¦ãããæ¹ã¯åãã§ãã ã¾ãããã®æ¹æ³ã§ 4.1.22 ãã¤ã³ã¹ãã¼ã«ã§ãã¾ããã ï¼ï¼mysqlã¦ã¼ã¶ã®ä½æ mysql ã®ã°ã«ã¼ããä½æãã¾ãã # groupadd mysql mysq ã¦ã¼ã¶ãä½æãã¾ãã # useradd -g mysql -d /home/mysql mysql ï¼ï¼ã½ã¼ã¹ã®å ¥æMï½SQLã®å ¬å¼ãµã¤ããããã¦ã³ãã¼ããã¾ãã http://dev.mysql.com/downloads/mysql/5.1.html Source downloadsãã®ãCompressed GNU TAR archive (tar.gz) ããã¦ã³ãã¼ããã¦ãã ããã ï¼ï¼ãã¦ã³ãã¼ãã¨è§£å root ã§ä½æ¥ãã¾ãã # cd /usr/local
é ãã°ããªãã ã¢ãã³ãª Perl ã®éçºç°å¢ã®æ§ç¯æ¹æ³ ã¢ãã³ãªPHPã®éçºç°å¢ã®æ§ç¯æ¹æ³ ã¢ãã³ãªPythonã®éçºç°å¢ã®æ§ç¯æ¹æ³ ã¢ãã³ãª Java ã®éçºç°å¢ã®æ§ç¯æ¹æ³ ã«ç¶ãã¦ã¿ããMySQLã¯è¨èªãããªããã©ã ã³ã³ãã¤ã©çMySQLãã½ã¼ã¹ãããã«ãããã®ã§ãªããã°ã³ã³ãã¤ã©çã¯å¿ è¦ãªããã©ãã©ããã¢ããªéçºã«å¿ è¦ãªã®ã§ãMySQLãªãããã¤ã§ãããã¯ãã¦ãããï¼ãã¨ããææ°è¾¼ã¿ã示ãããã«å ¥ãã¦ããããOSXãªãXcodeãLinuxãªãGCCãææ°ã®ã½ã¼ã¹ã³ã¼ããããªãã¨ã¤ãï¼ã¨ããç²ãªäººã«ã¯Bazaarã®ã¤ã³ã¹ãã¼ã«ããå§ãããããBazaarã¯è¨ããã¨ç¥ããåæ£ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã§ãããMySQLéçºãã¼ã ãæ¡ç¨ãã¦ãããææ°ã®ã½ã¼ã¹ã³ã¼ãã¯æ¬¡ã®ã³ãã³ãã§ã²ããå¯è½ã ã shell> bzr branch lp:mysql-server/5.1 mysql-5.1
ããã«ã¡ã¯ãã¢ã·ã¢ã«ã®ä¸å·ã§ãã Google Mapsã«è¡¨ç¤ºããæ å ±ãMySQLã®geometryåã§æ±ãæ¹æ³ã試ãã¦ã¿ã¾ããã Google Mapsã®ããå°ç¹ã«ãã¼ã«ã¼ã表示ããããããã¨ãããå ´åã 緯度ã»çµåº¦ã®æ å ±ã§å°ç¹ã«è¡¨ç¤ºããããã¨ãã§ãã¾ããã ãã¼ã¿ãã¼ã¹ã«ãã®æ å ±ãä¿åããå ´åãlat(float), lng(float)ã¨ããããã«ã©ã ã«ä¿åããæ¹æ³ãããã®ã§ããããã®æ¹æ³ã§ã¯åãã¼ã¿ã®ä½ç½®ã®é¢ä¿ãé常ã«æ±ãã«ãããªãã¾ãã Google Mapsã§è¡¨ç¤ºããã¦ããç¯å²å ã®ãã¼ã¿ã®ã¿åå¾ãããå ´åãã ããå°ç¹ããè¿ãé ã«åå¾ããå ´åãªã©ã«é¢åãªãã¨ã«ãªãã¾ãã ããã§ãMySQL4.1以éã§ç¨æããã¦ãã空éæ å ±ãæ±ãæ©è½ã®ãgeometryãåã使ç¨ãã¾ãã ãMySQL 4.1 ãªãã¡ã¬ã³ã¹ããã¥ã¢ã« :: 10 MySQL ã«ããã空éæ å ±ã®æ©è½(æ¥æ¬èª)ã ã
mysql> status; -------------- mysql Ver 14.7 Distrib 4.1.20, for redhat-linux-gnu (i386) using readline 4.3 Connection id: 36 Current database: staff2006 Current user: maiha@localhost SSL: Not in use Current pager: lv Using outfile: '' Using delimiter: ; Server version: 4.1.20 Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: latin1 Db characterset: latin1 Client char
MySQLã®GUIã¯ã©ã¤ã¢ã³ãã¯ã»ã¨ãã©ã®äººããphpmyadminãããMySQL Query Browserãã使ã£ã¦ããã¨æããã ãã©ãphpmyadminã¯Webã¢ããªãªã®ã§è²ã ã¨ãã«ã¤äºãå¤ãããMySQL Query Browserã¯æ¥æ¬èªã®è¡¨ç¤ºã¯åºæ¥ã¦ãå ¥åãåºæ¥ãªãã¦å°ããã¨è¨ãã©ã¡ããã¤ãã¤ãã§çµæ§ã¹ãã¬ã¹ã«ãªãäºãå¤ãã£ãã ãã§ãä»æ¥ã¡ãã£ã¨èª¿ã¹ã¦ãããCSEããMySQL 5.0ã«ç¹ãæ¹æ³ãåãã£ãã®ã§æé ãã¡ã¢ã æ¥æ¬èªãã¡ããã¨è¡¨ç¤ºã»å ¥åã§ããã CSEããç´æ¥MySQL 5.0ã«ã¤ãªããã¨ããã¨ä¾å¤åãã¦è½ã¡ããã ãã©ãODBCãçµç±ããã¨æ¥ç¶ã§ããã 以ä¸ãæé ã æ¦è¦ 大ãã以ä¸ã®ä¸ã¤ã MySQL Connector/ODBCã®ãã¦ã³ãã¼ãã»ã¤ã³ã¹ãã¼ã« ODBCã®è¨å® my.cnfã®è¨å® MySQL Connector/ODBCã®ãã¦ã³ãã¼ãã»ã¤ã³ã¹ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}