{"id":288,"date":"2008-02-17T22:32:11","date_gmt":"2008-02-17T19:32:11","guid":{"rendered":"http:\/\/www.void.gr\/kargig\/blog\/?p=288"},"modified":"2008-06-06T01:16:26","modified_gmt":"2008-06-05T22:16:26","slug":"sip-express-router-mysql-and-utf8","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/","title":{"rendered":"SIP Express router, mysql and utf8"},"content":{"rendered":"<p>Description:<br \/>\nThere&#8217;s a small problem when using SIP Express Router (net-misc\/ser on Gentoo) with mysql support and your mysql server uses utf8 as a default character set (gentoo&#8217;s latest versions use utf8 by default). <\/p>\n<p>The problem:<br \/>\nOne of ser&#8217;s scripts (ser_mysql.sh) can&#8217;t handle utf8 tables.<br \/>\n<code># ser_mysql.sh create<br \/>\nMySql password for root:<br \/>\nDomain (realm) for the default user 'admin': foobar<br \/>\ncreating database ser ...<br \/>\nERROR 1071 (42000) at line 100: Specified key was too long; max key length is 1000 bytes<br \/>\n<\/code><\/p>\n<p>Solution 1 (remove utf8):<br \/>\nChange the character set to latin1.<br \/>\nThe specified error can easily be &#8220;fixed&#8221; by editing <strong>\/usr\/sbin\/ser_mysql.sh<\/strong>. Inside that script you will find a line like this (line 38):<br \/>\n<code>TABLE_TYPE=\"TYPE=MyISAM\"<\/code><\/p>\n<p>replace it with:<\/p>\n<p><code>TABLE_TYPE=\"TYPE=MyISAM,DEFAULT CHARACTER SET latin1\"<\/code><\/p>\n<p>The result:<br \/>\n<code># ser_mysql.sh create<br \/>\nMySql password for root:<br \/>\nDomain (realm) for the default user 'admin': foobar<br \/>\ncreating database ser ...<br \/>\n<\/code><\/p>\n<p>Solution 2 (reduce some column sizes):<br \/>\nThe following solution makes the script run but I have <strong>not<\/strong> personally tested if ser STILL works ok after the changes. Feel free to experiment and comment back on this:<br \/>\n<code># sed -i 's|domain varchar(128|domain varchar(100|g' \/usr\/sbin\/ser_mysql.sh<br \/>\n# sed -i 's|contact varchar(255|contact varchar(128|g' \/usr\/sbin\/ser_mysql.sh<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description: There&#8217;s a small problem when using SIP Express Router (net-misc\/ser on Gentoo) with mysql support and your mysql server uses utf8 as a default character set (gentoo&#8217;s latest versions use utf8 by default). The problem: One of ser&#8217;s scripts (ser_mysql.sh) can&#8217;t handle utf8 tables. # ser_mysql.sh create MySql password for root: Domain (realm) for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[12,3,9],"tags":[],"class_list":["post-288","post","type-post","status-publish","format-standard","hentry","category-gentoo","category-linux","category-voip"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"Description: There&#039;s a small problem when using SIP Express Router (net-misc\/ser on Gentoo) with mysql support and your mysql server uses utf8 as a default character set (gentoo&#039;s latest versions use utf8 by default). The problem: One of ser&#039;s scripts (ser_mysql.sh) can&#039;t handle utf8 tables. # ser_mysql.sh create MySql password for root: Domain (realm) for\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"kargig\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2008\\\/02\\\/17\\\/sip-express-router-mysql-and-utf8\\\/#article\",\"name\":\"SIP Express router, mysql and utf8 | Into.the.Void.\",\"headline\":\"SIP Express router, mysql and utf8\",\"author\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#organization\"},\"datePublished\":\"2008-02-17T22:32:11+02:00\",\"dateModified\":\"2008-06-06T01:16:26+03:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2008\\\/02\\\/17\\\/sip-express-router-mysql-and-utf8\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2008\\\/02\\\/17\\\/sip-express-router-mysql-and-utf8\\\/#webpage\"},\"articleSection\":\"Gentoo, Linux, VoIP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2008\\\/02\\\/17\\\/sip-express-router-mysql-and-utf8\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/#listItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/gentoo\\\/#listItem\",\"name\":\"Gentoo\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/gentoo\\\/#listItem\",\"position\":3,\"name\":\"Gentoo\",\"item\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/gentoo\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2008\\\/02\\\/17\\\/sip-express-router-mysql-and-utf8\\\/#listItem\",\"name\":\"SIP Express router, mysql and utf8\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2008\\\/02\\\/17\\\/sip-express-router-mysql-and-utf8\\\/#listItem\",\"position\":4,\"name\":\"SIP Express router, mysql and utf8\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/category\\\/linux\\\/gentoo\\\/#listItem\",\"name\":\"Gentoo\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#organization\",\"name\":\"Into.the.Void.\",\"description\":\"Into The Void\",\"url\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/kargig\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/#author\",\"url\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/\",\"name\":\"kargig\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2008\\\/02\\\/17\\\/sip-express-router-mysql-and-utf8\\\/#webpage\",\"url\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2008\\\/02\\\/17\\\/sip-express-router-mysql-and-utf8\\\/\",\"name\":\"SIP Express router, mysql and utf8 | Into.the.Void.\",\"description\":\"Description: There's a small problem when using SIP Express Router (net-misc\\\/ser on Gentoo) with mysql support and your mysql server uses utf8 as a default character set (gentoo's latest versions use utf8 by default). The problem: One of ser's scripts (ser_mysql.sh) can't handle utf8 tables. # ser_mysql.sh create MySql password for root: Domain (realm) for\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/2008\\\/02\\\/17\\\/sip-express-router-mysql-and-utf8\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/author\\\/site-admin\\\/#author\"},\"datePublished\":\"2008-02-17T22:32:11+02:00\",\"dateModified\":\"2008-06-06T01:16:26+03:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/\",\"name\":\"Into.the.Void.\",\"description\":\"Into The Void\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.void.gr\\\/kargig\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"SIP Express router, mysql and utf8 | Into.the.Void.","description":"Description: There's a small problem when using SIP Express Router (net-misc\/ser on Gentoo) with mysql support and your mysql server uses utf8 as a default character set (gentoo's latest versions use utf8 by default). The problem: One of ser's scripts (ser_mysql.sh) can't handle utf8 tables. # ser_mysql.sh create MySql password for root: Domain (realm) for","canonical_url":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/#article","name":"SIP Express router, mysql and utf8 | Into.the.Void.","headline":"SIP Express router, mysql and utf8","author":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/#author"},"publisher":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/#organization"},"datePublished":"2008-02-17T22:32:11+02:00","dateModified":"2008-06-06T01:16:26+03:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/#webpage"},"isPartOf":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/#webpage"},"articleSection":"Gentoo, Linux, VoIP"},{"@type":"BreadcrumbList","@id":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/www.void.gr\/kargig\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/#listItem","name":"Linux"}},{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/#listItem","position":2,"name":"Linux","item":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/gentoo\/#listItem","name":"Gentoo"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/gentoo\/#listItem","position":3,"name":"Gentoo","item":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/gentoo\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/#listItem","name":"SIP Express router, mysql and utf8"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/#listItem","name":"Linux"}},{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/#listItem","position":4,"name":"SIP Express router, mysql and utf8","previousItem":{"@type":"ListItem","@id":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/gentoo\/#listItem","name":"Gentoo"}}]},{"@type":"Organization","@id":"https:\/\/www.void.gr\/kargig\/blog\/#organization","name":"Into.the.Void.","description":"Into The Void","url":"https:\/\/www.void.gr\/kargig\/blog\/","sameAs":["https:\/\/x.com\/kargig"]},{"@type":"Person","@id":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/#author","url":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/","name":"kargig"},{"@type":"WebPage","@id":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/#webpage","url":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/","name":"SIP Express router, mysql and utf8 | Into.the.Void.","description":"Description: There's a small problem when using SIP Express Router (net-misc\/ser on Gentoo) with mysql support and your mysql server uses utf8 as a default character set (gentoo's latest versions use utf8 by default). The problem: One of ser's scripts (ser_mysql.sh) can't handle utf8 tables. # ser_mysql.sh create MySql password for root: Domain (realm) for","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/#breadcrumblist"},"author":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/#author"},"creator":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/author\/site-admin\/#author"},"datePublished":"2008-02-17T22:32:11+02:00","dateModified":"2008-06-06T01:16:26+03:00"},{"@type":"WebSite","@id":"https:\/\/www.void.gr\/kargig\/blog\/#website","url":"https:\/\/www.void.gr\/kargig\/blog\/","name":"Into.the.Void.","description":"Into The Void","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.void.gr\/kargig\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"288","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2022-01-04 11:59:22","updated":"2026-10-21 09:32:05","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.void.gr\/kargig\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/\" title=\"Linux\">Linux<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/gentoo\/\" title=\"Gentoo\">Gentoo<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tSIP Express router, mysql and utf8\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.void.gr\/kargig\/blog\/"},{"label":"Linux","link":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/"},{"label":"Gentoo","link":"https:\/\/www.void.gr\/kargig\/blog\/category\/linux\/gentoo\/"},{"label":"SIP Express router, mysql and utf8","link":"https:\/\/www.void.gr\/kargig\/blog\/2008\/02\/17\/sip-express-router-mysql-and-utf8\/"}],"views":7272,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}