In previous version of MySQL (before v8), we can grant/create mysql user one and grant it at once to get access by each host (location / 127.0.0.1) base on your mysql config. In MySQL 8, you no longer can (implicitly) create a user using the GRANT command. You need to do by CREATE USER and…
Tag: MySQL
On My SQL Workbench 5.x or 6.x, to manage the administration stuff such as import/export. Somehow, you could face an error when click on those admin tool: Current Profile Has no WMI enable Solution To solve this, it’s simply : On MySQL Workbench: Server Administration (on the right column) Click Manage Server Instances Select…
In case, you have executed some request as following example UPDATE `td_invoice_zzz` zi, ts_zone zo SET `zzz_com_zon_id` = zo.zon_id WHERE zzz_com_zon_code = zo.zon_code; And you receive the error about illegal mix of collations as: Error Code: 1267. Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' You are trying to compare two fields that…
I posted some posts about drupal since I started to implement things with drupal. Issue with “Maximum execution time“ Issue with “MySQL server has gone away“ And still with memory “The InnoDB memory heap“ Here is my own recommendation for Drupal or some heavy PHP/MySQL application. php.ini max_execution_time=5000 memory_limit=1024M my.ini [mysqld] max_allowed_packet = 128m sort_buffer_size…
MySQL: The InnoDB memory heap is disabled
When you start your MySQL server, check in the log, you might found this warning message: [Note] InnoDB: The InnoDB memory heap is disabled The memory heap is related to performance of the MySQL with engine of InnoDB Solutions The issue would be solved by provide the setting in my.cnf/my.ini as [mysqld] # Comment the…
MySQL server has gone away, issue on drupal, drupal ecommerce kickstart gives me alot of headache since I do not first aware that the issue because of there are so many packets execution on mysql with drupal. The full error is (or similar): Additional uncaught exception thrown while handling exception. Original PDOException: SQLSTATE[HY000]: General error:…
MySQL Workbench 6.x Preview
MySQL Workbench, a visual editor for MySQL database, one of the free and popular tool to manage database and modeling. MySQL Workbench version 6.x has been release since July 2013 after a long running of version 5.x. Here are some screenshot of MySQL Workbench 6.0.8 that I just installed: Learn more.