Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Conversation

Ara4Sh
Copy link

@Ara4Sh Ara4Sh commented Feb 4, 2017

Hello

I create a procedure to convert all tables in the database to new character set and collation .

mysql > CALL sys.db_collation_convertor('app','utf8','utf8_persian_ci');

it can handle errors when no table found or collation is not applicable with character set or one of them are invalid .

mysql > CALL sys.db_collation_convertor('app','latin1','utf8_general_ci');
+--------------------------------------------------------------+
| Summary                                                      |
+--------------------------------------------------------------+
| Invalid collation "utf8_general_i" with character set "utf8" |
+--------------------------------------------------------------+
1 row in set (0.01 sec)

This is my first contribution i try to read current sql files for better coding and im glad if you guide me through this .

ps: I signed OCA today waiting for response .

Thank you .

@mysql-oca-bot
Copy link

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at http://www.oracle.com/technetwork/community/oca-486395.html
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@Ara4Sh
Copy link
Author

Ara4Sh commented Feb 12, 2017

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=84964 for updates.
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants