Warning: Cannot modify header information - headers already sent by (output started at /home/n742ef5/public_html/forum/index.php:3) in /home/n742ef5/public_html/forum/wp-content/plugins/asgaros-forum/includes/forum-online.php on line 80

Warning: Cannot modify header information - headers already sent by (output started at /home/n742ef5/public_html/forum/index.php:3) in /home/n742ef5/public_html/forum/wp-content/plugins/asgaros-forum/includes/forum-unread.php on line 43

Warning: Cannot modify header information - headers already sent by (output started at /home/n742ef5/public_html/forum/index.php:3) in /home/n742ef5/public_html/forum/wp-content/plugins/asgaros-forum/includes/forum-unread.php on line 82
Increase database import file size in wampserver – Sithtamil – My Notes

Forum

Please or Register to create posts and topics.

Increase database import file size in wampserver

How to increase the WAMPSERVER max file upload capacity.

If you are not able to import the database of bigger file size

Here are the steps

  1. Start your wampserver.
  2. Right click on wampserver , go to PHP->php.ini , open the file.
  3. Search for upload_max_filesize
  4. You will find something link this upload_max_filesize = 2M
  5. Change it to 100M or more according to your requirement.
  6. Then search for post_max_size … same increase the size according to your requirement.
  7. Last step but not the least right click on wampserver and click on “Restart All Services”.

How to solve the Error 1115 (42000): Unknown character set: 'utf8mb4' when importing a sql file in PHPMyAdmin

This error usually happens when you try to import an entire database, or single table that was exported from a newer version of PHPMyAdmin. So when you try to import this file into an older version of MySQL that doesn't support the utf8mb4 charset, you will face the exception. The most probably case is that locally you have a major version of MySQL, and on stage/hosted VPS you have MySQL server version less than 5.5.3.

Check the following users.sql file:

/*!40101 SET NAMES utf8mb4 */;

How to solve it

There's a good chance (depending of the kind of characters stored on your table) that you can solve this issue by simply changing the utf8mb4 with just utf8. According to the MySQL docs, the utf8mb4 charset is a superset of utf8 that uses a maximum of four bytes per character and supports supplementary characters (instead of 3 that uses utf8).

Alternatively, if you are able to, you can update the version of MySQL installed on your server that supports the utf8mb4 charset.

Happy coding !

how to create username and password in mysql. (WAMP Server)
Go to Privileges --> Add a new User