<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Database Administration</title>
        <description>Forum for Administering and Managing MySQL.</description>
        <link>http://forums.mysql.com/list.php?35</link>
        <lastBuildDate>Wed, 19 Jun 2013 20:38:04 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?35,588859,588859#msg-588859</guid>
            <title>The InnoDB log sequence number is in the future (no replies)</title>
            <link>http://forums.mysql.com/read.php?35,588859,588859#msg-588859</link>
            <description><![CDATA[ Our site was getting intermittent database errors and I asked my webhost to check what's happening. After some inspection they found that the database has few issues and tried repairing it. Finally I got following message from them-<br />
<br />
----------<br />
<br />
I have attempted every repair on the InnoDB database and we are still getting<br />
the InnoDB log sequence number is in the future. At this point to get the<br />
ibdata and the iblogfile to match up once again we will need to restore the<br />
MySQL directory (which includes databases) from the backup we have on the<br />
server. The process should not take to long but there will be some downtime<br />
associated with a restore like this. If this is not the best time to restore<br />
the MySQL directory I can schedule this for a different time. Please let me<br />
know how you would like to proceed with this.<br />
-----------<br />
<br />
Can someone tell me what'd be the best way to address this issue. I really don't want to lose out on any data and want the dB to be repaired.<br />
<br />
PS: If you need more information, please let me know and I'll get it from our web hosts.<br />
<br />
Would really appreciate your help.]]></description>
            <dc:creator>Kaustubh Katdare</dc:creator>
            <category>Database Administration</category>
            <pubDate>Wed, 19 Jun 2013 13:27:28 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,588694,588694#msg-588694</guid>
            <title>Synchronizing with SJA (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,588694,588694#msg-588694</link>
            <description><![CDATA[ Good morning,<br />
I have an application on several clients and each with a mysql database, are equal however each application instance has an identical copy of the database on the server, in this scenario I have the following problem, I need to keep some tables synchronized. For example all of the contacts registered in a customer may be viewed and edited by any other, but do not have access to the source code of the system and seek a solution directly into the mysql. One option I found was the SJA, but I have a doubt regarding the control of primary and foreign keys, when a customer register a contact run the risk of generating a key that already exists and an error occurs when synchronizing? Someone had contact with this tool and can tell me if she can make the correct control keys or suggest another option?<br />
<br />
thank you!]]></description>
            <dc:creator>Delanno Delanno</dc:creator>
            <category>Database Administration</category>
            <pubDate>Wed, 19 Jun 2013 02:46:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,588603,588603#msg-588603</guid>
            <title>Database collation (2 replies)</title>
            <link>http://forums.mysql.com/read.php?35,588603,588603#msg-588603</link>
            <description><![CDATA[ Greetings to all...<br />
<br />
I have an arabic database built with the following encoding charset:<br />
latin1 -- cp1252 West European<br />
While converting it to utf-8 Data was corrupted (Could not be displayed properly in HTML with the following header :(&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;)<br />
<br />
Any way, I have a backup.<br />
<br />
My question is: Any one have an idea how I could convert My database from latin1 -- cp1252 West European to utf-8 and having it displayed well in HTML page with any data corruption?<br />
<br />
Thanks for all contributers....]]></description>
            <dc:creator>Dadvid Dev</dc:creator>
            <category>Database Administration</category>
            <pubDate>Tue, 18 Jun 2013 12:12:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,588446,588446#msg-588446</guid>
            <title>What is the diffrence between ClearText Authentication and PAM Authentication? (no replies)</title>
            <link>http://forums.mysql.com/read.php?35,588446,588446#msg-588446</link>
            <description><![CDATA[ PAM Authentication:<br />
PAM enables a system to use a standard interface to access various kinds of authentication methods, such as Unix passwords or an LDAP directory.<br />
<br />
Cleartext Client-Side Authentication Plugin:<br />
client-side plugin can be used to send the password to the server in clear text. There is no corresponding server-side plugin.<br />
<br />
Questions:<br />
Has anybody practically tried using PAM authentication OR Cleartext authentication mechanism?<br />
If so please explain how to configure and setup with an example.?]]></description>
            <dc:creator>Mahesh Patil</dc:creator>
            <category>Database Administration</category>
            <pubDate>Wed, 12 Jun 2013 06:21:51 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,588394,588394#msg-588394</guid>
            <title>Slow query Logs are auto purging (no replies)</title>
            <link>http://forums.mysql.com/read.php?35,588394,588394#msg-588394</link>
            <description><![CDATA[ Hi All,<br />
I've a mysql cluster management setup version 7.2.10 server, and mysql version 5.5.29 is installed.<br />
I've checked all the possibilities of getting Slow query logs auto purging after every 3-4 min.<br />
Can any body help me on this.<br />
Thanks in advance.]]></description>
            <dc:creator>Ashish Kumar</dc:creator>
            <category>Database Administration</category>
            <pubDate>Tue, 11 Jun 2013 08:25:08 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,588064,588064#msg-588064</guid>
            <title>Severe performance problem with mysql 5.5.19 (8 replies)</title>
            <link>http://forums.mysql.com/read.php?35,588064,588064#msg-588064</link>
            <description><![CDATA[ I switched to MySQL 5.5.19 from 5.5.30 and noticed severe performance degradation. The website is not working at all. In particular, queries are getting struck and the status variable 'threads_running' goes up to 200. <br />
<br />
Server Details:<br />
<br />
8 cores cpu, 24 GB RAM<br />
OS- Mac leopard 10.5<br />
<br />
innodb_additional_mem_pool_size    = 200M<br />
innodb_autoextend_increment        = 10<br />
innodb_autoinc_lock_mode           = 2<br />
innodb_buffer_pool_size            = 8G<br />
  = innodb1:10G;innodb2:10G;innodb3:5G;innodb4:5G:autoextend<br />
innodb_flush_log_at_trx_commit     = 2<br />
innodb_lock_wait_timeout           = 60<br />
innodb_log_buffer_size             = 2M<br />
innodb_log_file_size               = 200M<br />
innodb_thread_concurrency          = 16<br />
innodb_write_io_threads            = 8<br />
innodb_read_io_threads             = 8<br />
<br />
Please suggest me what to do. I have read several forums and did not got any definite results.]]></description>
            <dc:creator>Gautam Prashant</dc:creator>
            <category>Database Administration</category>
            <pubDate>Thu, 06 Jun 2013 17:29:08 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,587719,587719#msg-587719</guid>
            <title>temp table or query for API (12 replies)</title>
            <link>http://forums.mysql.com/read.php?35,587719,587719#msg-587719</link>
            <description><![CDATA[ I have a mysql database that has an API ran in PHP that accesses the database via API.  Currently I have a query in the API that combines multiple tables in the database and returns a response in a JSON format.  <br />
<br />
Would it be faster or better to setup a temp table or stored procedure from the query in the API and then have the API just filter the table?  This RESTful API is being accessed through multiple clients around the world.  Currently it is being accessed by API around 40-60 times a day, but there are changes that are happening that could increase this to 100's of times an hour.<br />
<br />
The response from the API can be seen at the following.<br />
<br />
www.serviidb.com/api/video<br />
www.serviidb.com/api/media<br />
www.serviidb.com/api/plugin<br />
<br />
The current documentation can be seen at <br />
www.serviidb.com/sites/default/files/Serviidb API_0.pdf<br />
<br />
Here is an example of the query that the PHP query.<br />
<br />
<br />
SELECT distinct node.title as &quot;name&quot;, regions.region as region, field_data_field_media_url.field_media_url_value as url, media_type.media_type as mediaType, repositoryType.repositoryType as resourceType, plugins.plugin, media_resource_language.language, node.nid, resolution.resolution, (field_data_field_quality.field_quality_rating/20) as quality, (field_data_field_reliability.field_reliability_rating/20) as reliability, field_data_field_installs.field_installs_value as installCount FROM node left join field_data_field_region on field_data_field_region.revision_id=node.vid left join regions on regions.tid=field_data_field_region.field_region_tid left join field_data_field_media_url on field_data_field_media_url.revision_id = node.vid left join field_data_field_required_plugin on field_data_field_required_plugin.revision_id=node.vid left join field_data_field_source on field_data_field_source.revision_id = node.vid left join repositoryType on repositoryType.tid=field_data_field_source.field_source_tid left join plugins on plugins.tid=field_data_field_required_plugin.field_required_plugin_tid left join field_data_field_media_type on field_data_field_media_type.revision_id = node.vid left join media_type on media_type.tid = field_data_field_media_type.field_media_type_tid left join field_data_field_language on field_data_field_language.revision_id=node.vid left join media_resource_language on media_resource_language.tid= field_data_field_language.field_language_tid left join field_data_field_resolution on field_data_field_resolution.revision_id=node.vid left join resolution on resolution.tid=field_data_field_resolution.field_resolution_tid left join field_data_field_quality on field_data_field_quality.revision_id=node.vid left join field_data_field_reliability on field_data_field_reliability.revision_id=node.vid left join field_data_field_installs on field_data_field_installs.revision_id=node.vid WHERE node.status&lt;&gt;0 and node.type=&quot;media&quot; and media_type.media_type =&quot;video&quot;]]></description>
            <dc:creator>Stephen Strickland</dc:creator>
            <category>Database Administration</category>
            <pubDate>Sat, 08 Jun 2013 03:03:45 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,586979,586979#msg-586979</guid>
            <title>Visual Studio 2012 Supported in dbForge Fusion for MySQL, v.6.0 (no replies)</title>
            <link>http://forums.mysql.com/read.php?35,586979,586979#msg-586979</link>
            <description><![CDATA[ Devart Team is glad to present the release of <b>dbForge Fusion for MySQL v.6.0</b> – powerful Visual Studio plugin designed to simplify MySQL database development and enhance data management capabilities. Now includes support for Visual Studio 2012! All users can now benefit from the Devart add-in in the latest version of the IDE. <br />
 <br />
Together with support for the latest version of Microsoft Visual Studio, all new features and improvements that were made in dbForge Studio for MySQL, standalone application for database administration and management, were added.<br />
 <br />
Main improvements in dbForge Fusion for MySQL include:<br />
 <br />
- <b>Integration into Visual Studio 2012</b>. <br />
One installation file serves for installing the plugin into both Visual Studio 2010 and 2012 – users just need to check the needed IDE during installation.<br />
<br />
- <b>MySQL connectivity</b>. <br />
The latest version of MySQL server 5.5 is supported<br />
 <br />
- <b>Database Refactoring</b>. <br />
This feature allows renaming objects in a database and automatically updates links to these objects in the whole database.<br />
<br />
- <b>Improved Code Completion and Formatting</b>. <br />
Comprehensive suggestions and flexible capabilities for code formatting will let you standardize SQL code in your team or the whole company.<br />
<br />
- <b>Query Builder with support of DML statements and usability improvements</b>. <br />
<br />
- <b>Object Dependency Tree - unique feature.</b><br />
 <br />
Full list of improvements is available on the tool's features page - <a href="http://www.devart.com/dbforge/mysql/fusion/features.html"  rel="nofollow">http://www.devart.com/dbforge/mysql/fusion/features.html</a>.<br />
 <br />
Users are welcome to join forum - <a href="http://forums.devart.com/viewforum.php?f=23"  rel="nofollow">http://forums.devart.com/viewforum.php?f=23</a>, participate in discussions concerning Devart software, find answers to technical questions and other valuable information on dbForge Fusion for MySQL and other products for MySQL. <br />
<br />
<br />
For additional information about Devart, visit <a href="http://www.devart.com/"  rel="nofollow">http://www.devart.com/</a>.]]></description>
            <dc:creator>Ирина Писклярова</dc:creator>
            <category>Database Administration</category>
            <pubDate>Tue, 21 May 2013 13:18:01 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,586215,586215#msg-586215</guid>
            <title>my.ini (3 replies)</title>
            <link>http://forums.mysql.com/read.php?35,586215,586215#msg-586215</link>
            <description><![CDATA[ Hello,<br />
<br />
I installed MySQL Server (from mysql-installer-community-5.6.11.0.msi) and it seems, it runs OK. <br />
<br />
Nevertheless I miss the file my.ini. I think I can rename the my-default.ini to my.ini and then I can also add the entries I need (e.g. innodb_file_per_table = 1). Is it so??<br />
<br />
I am also wondering where the settings I made within the installer are (such as binary logging =on, Port 3306 and so on). I would like to be able to set binary logging =off and thought it can be done in my.ini<br />
<br />
Thank you in advice!<br />
Regards Peter]]></description>
            <dc:creator>Peter Christov</dc:creator>
            <category>Database Administration</category>
            <pubDate>Fri, 17 May 2013 17:23:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,585534,585534#msg-585534</guid>
            <title>how to import wordpress data base (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,585534,585534#msg-585534</link>
            <description><![CDATA[ hi i have a problem with upload database .sql formate. i have 1 gb of data in mysql formate how to uplode lage file plz help my website is <a href="http://interestingstrangefacts.com"  rel="nofollow">interesting strange facts</a> plz some body help me i download data from my old website which is expair now studmate.net<br />
<br />
Thanks<br />
<br />
Hafeez Baig]]></description>
            <dc:creator>Hafeez Mughal</dc:creator>
            <category>Database Administration</category>
            <pubDate>Sun, 05 May 2013 15:36:46 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,585303,585303#msg-585303</guid>
            <title>Alter table crash MYSQL 5.6 (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,585303,585303#msg-585303</link>
            <description><![CDATA[ Hi ,<br />
<br />
I am using Mysql 5.6.<br />
<br />
whenever i am using &quot;ALTER STATEMENT with ADD FOREIGN KEY&quot; mysql server crash.<br />
<br />
i am using ROW_FORMAT=COMPRESSED for some tables and file_format = barracuda.<br />
<br />
I read this type of bug was there in Mysql 5.1. but as i am using Mysql 5.6 i am feeling there is some other issue.<br />
<br />
Error Log shows following information.<br />
<br />
stack_bottom = 4c6430a0 thread_stack 0x40000<br />
/opt/mysql/bin/mysqld(my_print_stacktrace+0x35)[0x91dec5]<br />
/opt/mysql/bin/mysqld(handle_fatal_signal+0x3e8)[0x697888]<br />
/lib64/libpthread.so.0[0x306da0ebe0]<br />
/lib64/libc.so.6(strcmp+0x2)[0x306d2795f2]<br />
/opt/mysql/bin/mysqld[0x9bc540]<br />
/opt/mysql/bin/mysqld(_ZN7handler30ha_prepare_inplace_alter_tableEP5TABLEP18Alter_inplace_info+0x65)[0x5baa65]<br />
/opt/mysql/bin/mysqld[0x75fa56]<br />
/opt/mysql/bin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P24st_ha_create_informationP10TABLE_LISTP10Alter_infojP8st_orderb+0x1dd5)[0x761b75]<br />
/opt/mysql/bin/mysqld(_ZN19Sql_cmd_alter_table7executeEP3THD+0x46e)[0x85e26e]<br />
/opt/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x39c8)[0x715618]<br />
/opt/mysql/bin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x318)[0x7188c8]<br />
/opt/mysql/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x827)[0x7191e7]<br />
/opt/mysql/bin/mysqld(_Z10do_commandP3THD+0xd7)[0x71a487]<br />
/opt/mysql/bin/mysqld(_Z24do_handle_one_connectionP3THD+0x116)[0x6e4c76]<br />
/opt/mysql/bin/mysqld(handle_one_connection+0x45)[0x6e4d55]<br />
/opt/mysql/bin/mysqld(pfs_spawn_thread+0x13b)[0x994aab]<br />
/lib64/libpthread.so.0[0x306da0677d]<br />
/lib64/libc.so.6(clone+0x6d)[0x306d2d49ad]<br />
<br />
Thanks]]></description>
            <dc:creator>Sunil Divyeshvar</dc:creator>
            <category>Database Administration</category>
            <pubDate>Thu, 02 May 2013 20:42:24 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,585214,585214#msg-585214</guid>
            <title>insert into tablea if the same two fields exists in tableb (3 replies)</title>
            <link>http://forums.mysql.com/read.php?35,585214,585214#msg-585214</link>
            <description><![CDATA[ OK... I have a UNIX User database I created. A user table and a host table.<br />
<br />
When adding [insert] users to the host table I want to do a lookup of the user table and if exists [username and uid] then insert into the host table.<br />
<br />
I have the insert working as expected... but I would like to do a lookup first and only insert if they previously exist in the user table.<br />
<br />
Any ideas on how to accomplish this?<br />
<br />
FYI: I am a UNIX Engineer not a DBA... <br />
<br />
Tim]]></description>
            <dc:creator>Tim Manochehri</dc:creator>
            <category>Database Administration</category>
            <pubDate>Wed, 01 May 2013 06:04:04 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,585009,585009#msg-585009</guid>
            <title>DB Compress (2 replies)</title>
            <link>http://forums.mysql.com/read.php?35,585009,585009#msg-585009</link>
            <description><![CDATA[ Hello,<br />
how can I compress our MySQL Database (installed on windows) e.g. once a week (e.g. manually). The database file is about 60 GB. After drop of some tables the database file remained as big as before…<br />
Thanks and regards, P.<br />
<br />
Hallo,<br />
wie können wir am besten unsere MySQL Datenbank (auf Windows) ab und zu komprimieren? Z.B. die Datenbankdatei ist ca. 60 GB. Nachdem wir einige Tabellen gelöscht haben, blieb die Datei genau so groß….<br />
Danke!, P.]]></description>
            <dc:creator>Peter Christov</dc:creator>
            <category>Database Administration</category>
            <pubDate>Mon, 29 Apr 2013 14:13:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,584796,584796#msg-584796</guid>
            <title>Corrupted Database (3 replies)</title>
            <link>http://forums.mysql.com/read.php?35,584796,584796#msg-584796</link>
            <description><![CDATA[ Hello,<br />
<br />
On my environment I have a problem with a MySql Database. Some of my files are corrupted and I cannot acces any record of the database.<br />
<br />
On the server I have:<br />
     - OS: Windows Server 2003 SP2<br />
     - MySql 5.1.35<br />
<br />
The disk space used by the database it's about 200GB. Is there a problem regarding the size?<br />
<br />
I also want to mention the posibility that certain areas on the disk may be corrupted.<br />
<br />
If I successfully force the start of mysql database, I cannot run any commands, not even a &quot;select&quot; because it will crush.<br />
<br />
Is there any possibility to recover my data?<br />
<br />
Appreciate any answer<br />
Thanks!]]></description>
            <dc:creator>Nini John</dc:creator>
            <category>Database Administration</category>
            <pubDate>Fri, 26 Apr 2013 17:05:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,584786,584786#msg-584786</guid>
            <title>Bulk insert operation : Need to add datafiles (2 replies)</title>
            <link>http://forums.mysql.com/read.php?35,584786,584786#msg-584786</link>
            <description><![CDATA[ We need to perform hugh DML Operation in our MySQL Database , where data to be populated is nearly 35 GB. ( INSERT operations )<br />
<br />
I have one auto-extending data file, named ibdata1 &amp; two log files : ib_logfile0 and ib_logfile1 in MySQL data directory /var/lib/mysql<br />
<br />
innodb_data_file_path = ibdata1:1000M:autoextend<br />
<br />
As we are planning to load bulk insert statements , here we add ibdata2 datafile in autoextend mode.<br />
<br />
innodb_data_file_path = /ibdata/ibdata1:2000M;/dr2/ibdata/ibdata2:2000M:autoextend<br />
<br />
<br />
Could you suggest us how we could keep all our Datafiles in autoextend mode and add Datafiles across different mount points.]]></description>
            <dc:creator>Lukas Pise</dc:creator>
            <category>Database Administration</category>
            <pubDate>Mon, 29 Apr 2013 05:34:36 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,584782,584782#msg-584782</guid>
            <title>Error while Pulling mysqlreport (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,584782,584782#msg-584782</link>
            <description><![CDATA[ While Pulling MySQL Report , I am getting errors , On Linux Server x86_64 x86_64 x86_64 GNU/Linux , where MySQL 5.6.10 is installed<br />
<br />
To pull MySQL Report , I have followed these steps <br />
<br />
[root@node1 ~]# ls -l mysqlreport-3.5.tgz<br />
-rw-r--r-- 1 root root 41421  4æ 24 18:13 mysqlreport-3.5.tgz<br />
<br />
[root@node1 ~]# cd mysqlreport-3.5<br />
<br />
[root@node1 ~]# ls<br />
COPYING  mysqlreport  mysqlreportdoc.html  mysqlreportguide.html<br />
<br />
<br />
[root@node1 ~]# ./mysqlreport<br />
<br />
Can't locate DBI.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./mysqlreport line 24.<br />
BEGIN failed--compilation aborted at ./mysqlreport line 24.<br />
<br />
But still , I am getting errors , Could some one throw light on this<br />
<br />
<br />
Regards<br />
Lukas]]></description>
            <dc:creator>Lukas Pise</dc:creator>
            <category>Database Administration</category>
            <pubDate>Fri, 26 Apr 2013 04:11:58 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,584567,584567#msg-584567</guid>
            <title>Start/Stop mysqld (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,584567,584567#msg-584567</link>
            <description><![CDATA[ Hi<br />
I'm seeking help to understand what happens when the following command line is executed:<br />
root@prodn$ service mysqld stop<br />
<br />
Yes, it shuts down the MySQL server so access to it is no longer available until the service is starts again.<br />
<br />
However, more specifically, is there anything else that happens when the service is stopped?<br />
<br />
The reason I ask is the following:<br />
It is not a normal practice to start/stop mysqld service. Our data warehouse DB is a MySQL DB (so, executing the command line above means our data warehouse is offline). Our ETL process also uses this database and in the past 4 months, it has taken on average 8.5 hours. All DML processes are also done in the ETL process.<br />
<br />
[Pentaho ETL: mysql-connector-jdbc] -- [mysql: data_warehouse]<br />
<br />
Last Wednesday, I've stopped the mysql service, and then restarted it after 30 minutes. Since, I begin to notice our data warehouse (DW) and the overall performance of a SELECT process were more efficient. DW finished almost 4 hours earlier with the same number of rows of data -- it process about 1.8 millions rows daily with inserts and updates.<br />
<br />
However, with each passing day, 15-20 minutes is added to the finish time. So, I suspect I may have to restart the service weekly.<br />
<br />
Is there an explanation for this behavior? Is this something to do with a mysql cache -- that the cache is cleared when mysqld is restarted? I don't know what other questions are relevant but it'd be brilliant to know what happens when mysqld service restarts.<br />
<br />
Can anyone shed some light on this please?]]></description>
            <dc:creator>Danny Teok</dc:creator>
            <category>Database Administration</category>
            <pubDate>Fri, 26 Apr 2013 04:19:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,584450,584450#msg-584450</guid>
            <title>How to create a database in MySQL? (2 replies)</title>
            <link>http://forums.mysql.com/read.php?35,584450,584450#msg-584450</link>
            <description><![CDATA[ Kindly anyone tell me about creating a new databse in MySQL? I want to create this database for my website: www.onlineustaad.com]]></description>
            <dc:creator>Abdul Khan</dc:creator>
            <category>Database Administration</category>
            <pubDate>Fri, 24 May 2013 07:15:32 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,583759,583759#msg-583759</guid>
            <title>mysqldump complains about .my.cnf variables meant for mysql client (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,583759,583759#msg-583759</link>
            <description><![CDATA[ mysql  Ver 14.14 Distrib 5.5.28, for debian-linux-gnu (x86_64) using readline 6.2<br />
<br />
I have, among other variables, the following specified in my .my.cnf file:<br />
<br />
    [client]<br />
    init-command='set autocommit=0'<br />
<br />
Unfortunately, mysqldump tries to interpret that line and complains:<br />
<br />
    mysqldump: unknown variable 'init-command=set autocommit=0'<br />
<br />
I tried putting in a [mysqldump] section, but it still complains about the client line. It really should ignore anything it doesn't recognize. Is there a better way to get what I want? Thanks!]]></description>
            <dc:creator>Roderick Mann</dc:creator>
            <category>Database Administration</category>
            <pubDate>Fri, 12 Apr 2013 09:06:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,583022,583022#msg-583022</guid>
            <title>Function user() (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,583022,583022#msg-583022</link>
            <description><![CDATA[ Hi,<br />
Reading lot of things about the function user(), but nothing about its properties: Is it a NOSQL function? What is the exact data type of the result?<br />
I am building a function based on that function. Thanks for you help.]]></description>
            <dc:creator>Christophe Le Lannou</dc:creator>
            <category>Database Administration</category>
            <pubDate>Wed, 03 Apr 2013 13:15:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,581980,581980#msg-581980</guid>
            <title>&quot;show grants for xyz&quot; does no show all privileges (6 replies)</title>
            <link>http://forums.mysql.com/read.php?35,581980,581980#msg-581980</link>
            <description><![CDATA[ Hello,<br />
<br />
I'm rather new to db administration and was ordered to take care of a mysql db a few months ago.<br />
<br />
So here I'm am.<br />
<br />
I upgraded from mysql 5.1.X to 5.5.28 on windows 2008 r2 a few month ago. This is the way I upgraded:<br />
1) did a mysqldump for every single db in 5.1.X<br />
mysqldump --default-character-set=utf8 -c -e -v -h 127.0.0.1 -u dump --password=xyz --dump-date --single-transaction BTS &gt; bts.dump<br />
<br />
2) shutdown the 5.1.x version<br />
3) started the 5.5.28 version and imported the BTS db like this:<br />
mysql -u root -p &lt; bts.dump<br />
<br />
I did that for every single database.<br />
<br />
At some point I created 1 user per DB (that are used by our web application servers) and gave them grants (I don't remember the exact syntax I used). The DML queries work as expected.<br />
<br />
(All the users have the same name as the database and the host is always 127.0.0.1 f.ex. 'bts'@'127.0.0.1')<br />
<br />
But now ... <br />
<br />
a) I checked grants like this:<br />
show grants for 'bts'@'127.0.0.1';<br />
<br />
Result is:<br />
GRANT USAGE ON *.* TO 'bts'@'127.0.0.1' IDENTIFIED BY PASSWORD 'blahblah'<br />
<br />
Only the USAGE grant appears???<br />
<br />
b) If I query mysql.db:<br />
select user,host,db,select_priv,insert_priv,update_priv,delete_priv from mysql.db where user = 'bts';<br />
<br />
result is:<br />
+------+------+-----+-------------+-------------+-------------+-------------+<br />
| user | host | db  | select_priv | insert_priv | update_priv | delete_priv |<br />
+------+------+-----+-------------+-------------+-------------+-------------+<br />
| bts  | %    | bts | Y           | Y           | Y           | Y           |<br />
+------+------+-----+-------------+-------------+-------------+-------------+<br />
<br />
The show grants in a) is incomplete. I can reproduce this for every user and every schema/db on this server, the show grants does only show the USAGE privileges the dml stuff does not appear, it is only visible via mysql.db.<br />
<br />
I've checked the show grants on our test db running on another server, the privileges are shown correctly select, insert etc privs are displayed correctly.<br />
<br />
My question now.<br />
<br />
a) Is/Are the mysql schema or some tables or other objects corrupted?<br />
b) How can I solve the problem?<br />
c) Is my upgrade procedure ok, or would suggest taking additional steps?<br />
<br />
Thank you very every advice and help!<br />
<br />
Kind regards,<br />
Didier]]></description>
            <dc:creator>Didier Wiroth</dc:creator>
            <category>Database Administration</category>
            <pubDate>Wed, 03 Apr 2013 13:13:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,581311,581311#msg-581311</guid>
            <title>restore from mysqldump --all-databases fails with &quot;cannot add foreign key constraint&quot; (3 replies)</title>
            <link>http://forums.mysql.com/read.php?35,581311,581311#msg-581311</link>
            <description><![CDATA[ Hello,<br />
<br />
I'm testing my backup &amp; restore strategy and actually really glad I did ...<br />
<br />
I'm using mysqldumP to backup all our databases:<br />
mysqldump -u root --all-databases &gt; full.sql<br />
<br />
And when I try to restore a single database from within the full dump file:<br />
mysql -D bts -o -u root &lt; full.sql<br />
ERROR 1215 (HY000) at line 58: Cannot add foreign key constraint<br />
<br />
And this is true for every DB in the file<br />
mysql -D rde -o -u root &lt; full.sql<br />
ERROR 1215 (HY000) at line 2571: Cannot add foreign key constraint<br />
etc<br />
<br />
The restoring fails for every DB in the file with foreign key problems.<br />
<br />
If I use mysqldump to backup a single DB and restore them from a file containing only one db, restoration is possible without any errors.<br />
<br />
The Server I'm doing the dump is:<br />
Server version          5.5.28-log<br />
Protocol version        10<br />
<br />
I'm trying to restore the dump on a server 5.5.30 or 5.6.30 ... no luck so far.<br />
<br />
Do I miss something here?<br />
<br />
Thanks a lot!!!<br />
Didier]]></description>
            <dc:creator>Didier Wiroth</dc:creator>
            <category>Database Administration</category>
            <pubDate>Thu, 21 Mar 2013 07:18:15 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,581257,581257#msg-581257</guid>
            <title>Zero-downtime MySQL maintenance and schema operations (no replies)</title>
            <link>http://forums.mysql.com/read.php?35,581257,581257#msg-581257</link>
            <description><![CDATA[ Tungsten University: Zero-Downtime MySQL Maintenance And Schema Operations<br />
<br />
Do you know how to do rolling maintenance on your database hosts so you can make changes without stopping applications? How about upgrading schema and applications themselves? Tungsten clusters have a host of features that can help you with everything from basic administration to complex application upgrades. This webinar will show you the the different types of administration you need to perform, and introduces the procedures to perform them without application downtime.<br />
<br />
Course Topics<br />
<br />
- What is rolling maintenance?<br />
- How to perform simple maintenance on hosts<br />
- How to plan, test, and perform a MySQL version upgrade<br />
- Standard SQL schema upgrade patterns and how to do them with zero downtime<br />
- Combining SQL schema and application code upgrades<br />
- Structuring applications to make zero-downtime upgrade work better<br />
- Backing out of failed upgrade or maintenance<br />
<br />
Course Dates<br />
<br />
- Thursday, March 21 @ 10 am PDT/1 pm EDT<br />
- Tuesday, March 26 @ 15:00 GMT/15:00 BT/16:00 CET<br />
<br />
Register at <a href="http://bit.ly/13qOxgh"  rel="nofollow">http://bit.ly/13qOxgh</a>]]></description>
            <dc:creator>Petri Virsunen</dc:creator>
            <category>Database Administration</category>
            <pubDate>Wed, 13 Mar 2013 18:03:00 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,579977,579977#msg-579977</guid>
            <title>MYSQL housekeeping tasks (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,579977,579977#msg-579977</link>
            <description><![CDATA[ Hi all,<br />
Am new to MYSQL although have a few years experience with Oracle rdbms.<br />
<br />
Are there any general day to day housekeeping tasks that need to be carried out on a MYSQL install?<br />
<br />
We will be monitoring the database via a product called dbwatch but in terms of things like log files / trace files etc etc are there the equivalent on MYSQL as there are in Oracle?<br />
<br />
regards<br />
<br />
Alan]]></description>
            <dc:creator>Alan Mckeown</dc:creator>
            <category>Database Administration</category>
            <pubDate>Tue, 26 Feb 2013 15:10:16 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,578719,578719#msg-578719</guid>
            <title>FREE!  MySQL Health Check (no replies)</title>
            <link>http://forums.mysql.com/read.php?35,578719,578719#msg-578719</link>
            <description><![CDATA[ FREE!  MySQL Health Check<br />
<a href="https://www.mysql.com/news-and-events/health-check/"  rel="nofollow">https://www.mysql.com/news-and-events/health-check/</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Database Administration</category>
            <pubDate>Fri, 08 Feb 2013 04:15:34 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,578714,578714#msg-578714</guid>
            <title>Passwordless root access (4 replies)</title>
            <link>http://forums.mysql.com/read.php?35,578714,578714#msg-578714</link>
            <description><![CDATA[ Hi,<br />
<br />
I want to make a backup cron job run by the root user.  At the moment it looks like I'm going to have to hard-code the root user's database password in plaintext in the cron job, which feels like a security sin.<br />
<br />
How else can I identify the root user to MySQL when run off the command line?  I know how to allow a user to connect from localhost without a password, but I don't know how to allow only a particular unix user to connect as a corresponding MySQL user.]]></description>
            <dc:creator>Matthew Exon</dc:creator>
            <category>Database Administration</category>
            <pubDate>Sat, 09 Feb 2013 23:57:16 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,578241,578241#msg-578241</guid>
            <title>How to deal with huge MYISAM  corrupted table (6 replies)</title>
            <link>http://forums.mysql.com/read.php?35,578241,578241#msg-578241</link>
            <description><![CDATA[ Hi,<br />
<br />
While executing queries on a table I am getting the below error:<br />
&quot;error no 13 - tablename.MYD file not found&quot; <br />
<br />
I am using Mysql 5.1.52 on windows server. The table has around 60million of records &amp; the size of this table is 20GB. Can someone please help me out resolving this issue in less time &amp; as soon as possible.<br />
<br />
Sandeep]]></description>
            <dc:creator>sandeep thakur</dc:creator>
            <category>Database Administration</category>
            <pubDate>Fri, 22 Feb 2013 07:29:13 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,578183,578183#msg-578183</guid>
            <title>How do i clone a table? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,578183,578183#msg-578183</link>
            <description><![CDATA[ I don't know if it's possible to clone an sql table in such a way that the clonedtables will have a different name and whatever content is added to the main table is also reflected in the cloned table.]]></description>
            <dc:creator>James Orji</dc:creator>
            <category>Database Administration</category>
            <pubDate>Thu, 31 Jan 2013 14:48:21 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,578138,578138#msg-578138</guid>
            <title>Comments in dump (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,578138,578138#msg-578138</link>
            <description><![CDATA[ How do I get comments within a function form a database dump into the database?<br />
<br />
mysql user -h host &lt; dump.txt<br />
<br />
dump.txt<br />
=============<br />
<br />
<br />
DROP FUNCTION IF EXISTS `foo`;<br />
DELIMITER $$<br />
<br />
CREATE DEFINER=`user`@`%` FUNCTION `foo`() RETURNS bigint(1)<br />
<br />
BEGIN<br />
    <br />
SET @var1       = &quot;TEST&quot;;<br />
#please keep this comment<br />
<br />
return 1;<br />
END$$<br />
<br />
DELIMITER ;]]></description>
            <dc:creator>Jens Ruena</dc:creator>
            <category>Database Administration</category>
            <pubDate>Tue, 29 Jan 2013 17:22:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?35,577536,577536#msg-577536</guid>
            <title>creation of table with 25000 col how and good practice (1 reply)</title>
            <link>http://forums.mysql.com/read.php?35,577536,577536#msg-577536</link>
            <description><![CDATA[ Hi<br />
<br />
i have a project on my head where the DB structure requires to create me with 20,000 Cols in a table and would be populated with various ans for the same which would be again in INT format i.e 0 or 1 <br />
<br />
But the main issue is how do i make this table and store the data, will it make sense to put the value in coma seprated values or something similar. <br />
<br />
If you can kindly help me with eg if you have any.]]></description>
            <dc:creator>Test Rest</dc:creator>
            <category>Database Administration</category>
            <pubDate>Sat, 19 Jan 2013 21:15:57 +0000</pubDate>
        </item>
    </channel>
</rss>
