Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Issue of partial data visibility on Slave Server
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[Category:Radico-Khaitan]] == Mysql on Linux is Cases sensitive and Mysql on Windows is case insensitive == '''Problem''' The error shows st_tnt_up_excise.'''C'''ompany doesn't exists [[File:Screenshot from 2019-07-30 11-36-10.png ]] == [[Solution]] == In my.cnf edit /etc/my.cnf and add the following line after [mysqld] lower_case_table_names=1 move or remove /var/lib/mysql directory. This will delete all databases!!!! mv /var/lib/mysql /tmp/mysql Create a new /var/lib/mysql directory and make mysql user as owner mkdir /var/lib/mysql chown -R mysql:mysql /var/lib/mysql chmod 750 /var/lib/mysql service mysqld stop service mysqld start Database will get initialized and then you can dump the database and start replication . == Problem 2 == Due to change in SQL Mode the data is not exported from the Slave Server [[File:Screenshot from 2019-07-30 11-33-48.png]] == Solution == In my.cnf edit /etc/my.cnf and add the following line after [mysqld] sql_mode = STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION '''Reference''' - https://tableplus.io/blog/2018/08/mysql-how-to-turn-off-only-full-group-by.html and restart Mysqld
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)