my.cnf

Where can I find the file my.ini file for windows mysql server?

北战南征 提交于 2019-12-01 01:20:19
问题 The same question is repeated again and again and i am another one repeating this question . I have already set up my mysql server . Its location is C:\Program Files\MySQL\MySQL Server 5.5 but i am not able to find the my.ini file inside the above path . When i type the command c:>mysql --help The output looks like Default options are read from the following files in the given order: C:\Windows\my.ini C:\Windows\my.cnf C:\my.ini C:\my.cnf C:\Program Files\MySQL\M ySQL Server 5.5\my.ini C:

MySQL: setting time_zone in my.cnf options file

落爺英雄遲暮 提交于 2019-11-30 17:26:39
In MySQL you can set a session variable called time_zone to change the timezone. This is useful e.g. when looking at timestamps from another country. Here is an example: mysql> select now(); +---------------------+ | now() | +---------------------+ | 2010-12-30 18:59:18 | +---------------------+ 1 row in set (0.00 sec) mysql> set time_zone='Brazil/East'; Query OK, 0 rows affected (0.00 sec) mysql> select now(); +---------------------+ | now() | +---------------------+ | 2010-12-30 09:59:29 | +---------------------+ 1 row in set (0.00 sec) Is it possible to put that in an option file e.g. .my

Changes to my.cnf don't take effect (Ubuntu 16.04, mysql 5.6)

五迷三道 提交于 2019-11-30 07:43:20
Changes I make to my.cnf don't seem to have any effect on the mysql environment. Here's a summary of what's happened... I installed mysql 5.7 on Ubuntu 16.04 but then realized I needed to downgrade to mysql 5.6 due to incompatibility issues. I apt purged the related applications and then removed any remaining directories such at /etc/mysql and /var/lib/mysql I then installed mysql-5.6 (server and client) and related packages. I was able to load one database from a dump from a server also running mysql 5.6 but when I tried to load a second database from a second dump from that same server, I

InnoDB tables exist in MySQL but says they do not exist after copying database to new server

穿精又带淫゛_ 提交于 2019-11-30 07:29:14
I used mysqldump to export my database and then I imported it into MySQL on my other server. I can now see all my tables if I do "show tables" but I can't actually select from or describe any of them. ERROR 1146 (42S02): Table 'mydatabase.user' doesn't exist All of my tables are InnoDB. I saw one issue people had where they were using old_passwords, so I explicitly set that to 0 in my.cnf and I made sure all of the passwords in the mysql table were 41 hexadecimal digits as they should be for the new passwords. RolandoMySQLDBA The reason "show tables;" works is because mysqld will scan the

MySQL: setting time_zone in my.cnf options file

喜夏-厌秋 提交于 2019-11-30 01:06:39
问题 In MySQL you can set a session variable called time_zone to change the timezone. This is useful e.g. when looking at timestamps from another country. Here is an example: mysql> select now(); +---------------------+ | now() | +---------------------+ | 2010-12-30 18:59:18 | +---------------------+ 1 row in set (0.00 sec) mysql> set time_zone='Brazil/East'; Query OK, 0 rows affected (0.00 sec) mysql> select now(); +---------------------+ | now() | +---------------------+ | 2010-12-30 09:59:29 |

MySQL my.cnf performance tuning recommendations [closed]

只谈情不闲聊 提交于 2019-11-29 20:29:14
I am kind of hoping that someone might be able to offer some assistance with optimizing a my.cnf file for an extremely high volume mysql database server. Our architecture is as follows: Memory : 96GB CPUs : 12 OS & Mysql : 64-bit Disk Space : 1.2 TB DB Engine : MyISAM Our web application is used by roughly 300 client simultaneously. We need our my.cnf tuned to give the best possible performance for this infrastructure. I am fully aware that indexes and optimized queries are a major factor in this, but we would like to start with a system that is configured properly and then follow that up with

Changes to my.cnf don't take effect (Ubuntu 16.04, mysql 5.6)

时光怂恿深爱的人放手 提交于 2019-11-29 10:26:18
问题 Changes I make to my.cnf don't seem to have any effect on the mysql environment. Here's a summary of what's happened... I installed mysql 5.7 on Ubuntu 16.04 but then realized I needed to downgrade to mysql 5.6 due to incompatibility issues. I apt purged the related applications and then removed any remaining directories such at /etc/mysql and /var/lib/mysql I then installed mysql-5.6 (server and client) and related packages. I was able to load one database from a dump from a server also

MySQL my.cnf performance tuning recommendations [closed]

梦想与她 提交于 2019-11-28 16:30:50
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I am kind of hoping that someone might be able to offer some assistance with optimizing a my.cnf file for an extremely high volume mysql database server. Our architecture is as follows: Memory : 96GB CPUs : 12 OS & Mysql : 64-bit Disk Space : 1.2 TB DB Engine : MyISAM Our web

MySQL my.cnf file - Found option without preceding group

吃可爱长大的小学妹 提交于 2019-11-27 04:19:59
I'm trying to connect to my DB in Ubuntu remotely but I receive error message when trying to mysql -u root -p : Found option without preceding group in config file: /etc/mysql/my.cnf at line: 1 my.cnf looks like: [mysqld] user = mysql socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp bind-address = 0.0.0.0 key_buffer = 16M max_allowed_packet = 16M thread_stack = 192K thread_cache_size = 8 myisam-recover = BACKUP query_cache_limit = 1M query_cache_size = 16M log_error = /var/log/mysql/error.log expire_logs_days = 10 max_binlog_size = 100M