Unsupported Screen Size: The viewport size is too small for the theme to render properly.

my.cnf is where?

forums forums SQLyog Using SQLyog my.cnf is where?

  • This topic is empty.
Viewing 4 reply threads
  • Author
    Posts
    • #8350
      Grunt
      Member

      Im attempting to resize my max_packets, but unable to find my.cnf within the SQLyog folders anywhere..using 3.64

      ??

    • #15526
      Ritesh
      Member

      my.cnf is a MySQL configuration file. SQLyog never uses it.

      From the MySQL Docs:

      Quote:
      There are two option files with the same function: `C:my.cnf', and the `my.ini' file in the Windows directory. (This directory typically is named something like `C:WINDOWS' or `C:WinNT'. You can determine its exact location from the value of the WINDIR environment variable.)
    • #15527
      Grunt
      Member

      I am getting a: Error : Got a packet bigger than 'max_allowed_packet' when trying to execute a rather large batch file. i had thought i read in another thread that to correct this the 'max_allowed_packet' had to be adjusted in the my.cnf – i guess i was mistaken.

      Regardless, could you point me in the right direction to get this sorted?

      Just out of curiosity, looking in my.ini located in my winnt dir, theres no line for it either:

      Code:
      #This File was made using the WinMySQLAdmin 1.4 Tool
      #2/23/2004 8:02:49 PM

      #Uncomment or Add only the keys that you know how works.
      #Read the MySQL Manual for instructions

      [mysqld]
      basedir=C:/mysql
      #bind-address=xxx.xxx.xxx.xx
      datadir=C:/mysql/data
      #language=C:/mysql/share/your language directory
      #slow query log#=
      #tmpdir#=
      #port=3306
      #set-variable=key_buffer=16M
      [WinMySQLadmin]
      Server=C:/mysql/bin/mysqld-nt.exe
      user=root
      password=xxxxxx

    • #15528
      Ritesh
      Member

      Check the following link:

      Max_Allowed_Packet

    • #15529
      Shadow
      Member

      If you have my.ini then you have no nedd for my.cnf, the two are the same… If your my.ini does not have a max_allowed_packet definition, then MySql uses the default value. You have to add the parameter either manually or by using MySql Administrator.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.