MySQL version 5.7
Posted: Thu Nov 02, 2017 11:48 am
I am setting up a new database server virtual machine and wondering if MySQL 5.7 is supported? Ubuntu 16.04 LTS and all newer versions default with 5.7...I am currently still running 14.04 LTS with MySQL 5.5. When I ran a test I got this error and wondered if it is setting listed here as "sql_mode=only_full_group_by"or a problem with 5.7 before I go trying to fix it.
Unhandled exception from ProgramEntry: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'opendental.plannedappt.ItemOrder' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
MySql.Data.MySqlClient.MySqlException
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at OpenDentBusiness.DataConnection.<>c__DisplayClass80_0.<GetTable>b__1() in C:\SVN\beta\OpenDentBusiness\Db\DataConnection.cs:line 601
at OpenDentBusiness.DataConnection.RunDbAction(Action actionDb, DbConnection connection) in C:\SVN\beta\OpenDentBusiness\Db\DataConnection.cs:line 940
at OpenDentBusiness.DataConnection.GetTable(String command, Boolean hasConnLost) in C:\SVN\beta\OpenDentBusiness\Db\DataConnection.cs:line 601
at OpenDentBusiness.ChartModules.GetPlannedApt(Int64 patNum) in C:\SVN\beta\OpenDentBusiness\Db Multi Table\ChartModules.cs:line 1298
at OpenDentBusiness.ChartModules.GetAll(Int64 patNum, Boolean isAuditMode, ChartModuleComponentsToLoad componentsToLoad) in C:\SVN\beta\OpenDentBusiness\Db Multi Table\ChartModules.cs:line 26
at OpenDental.ContrChart.FillProgNotes(Boolean retainSelection) in C:\SVN\beta\OpenDental\Main Modules\ContrChart.cs:line 6319
at OpenDental.ContrChart.RefreshModuleScreen(Boolean isClinicRefresh) in C:\SVN\beta\OpenDental\Main Modules\ContrChart.cs:line 3880
at OpenDental.ContrChart.ModuleSelected(Int64 patNum, Boolean isFullRefresh, Boolean isClinicRefresh) in C:\SVN\beta\OpenDental\Main Modules\ContrChart.cs:line 3578
at OpenDental.ContrChart.ModuleSelectedNewCrop(Int64 patNum) in C:\SVN\beta\OpenDental\Main Modules\ContrChart.cs:line 3551
at OpenDental.FormOpenDental.SetModuleSelected(Boolean menuBarClicked) in C:\SVN\beta\OpenDental\Main Modules\FormOpenDental.cs:line 5786
at OpenDental.FormOpenDental.myOutlookBar_ButtonClicked(Object sender, ButtonClicked_EventArgs e) in C:\SVN\beta\OpenDental\Main Modules\FormOpenDental.cs:line 5718
at OpenDental.OutlookBar.OnButtonClicked(OutlookButton myButton, Boolean myCancel) in C:\SVN\beta\OpenDental\User Controls\OutlookBar.cs:line 321
at OpenDental.OutlookBar.OnMouseUp(MouseEventArgs e) in C:\SVN\beta\OpenDental\User Controls\OutlookBar.cs:line 313
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Unhandled exception from ProgramEntry: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'opendental.plannedappt.ItemOrder' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
MySql.Data.MySqlClient.MySqlException
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at OpenDentBusiness.DataConnection.<>c__DisplayClass80_0.<GetTable>b__1() in C:\SVN\beta\OpenDentBusiness\Db\DataConnection.cs:line 601
at OpenDentBusiness.DataConnection.RunDbAction(Action actionDb, DbConnection connection) in C:\SVN\beta\OpenDentBusiness\Db\DataConnection.cs:line 940
at OpenDentBusiness.DataConnection.GetTable(String command, Boolean hasConnLost) in C:\SVN\beta\OpenDentBusiness\Db\DataConnection.cs:line 601
at OpenDentBusiness.ChartModules.GetPlannedApt(Int64 patNum) in C:\SVN\beta\OpenDentBusiness\Db Multi Table\ChartModules.cs:line 1298
at OpenDentBusiness.ChartModules.GetAll(Int64 patNum, Boolean isAuditMode, ChartModuleComponentsToLoad componentsToLoad) in C:\SVN\beta\OpenDentBusiness\Db Multi Table\ChartModules.cs:line 26
at OpenDental.ContrChart.FillProgNotes(Boolean retainSelection) in C:\SVN\beta\OpenDental\Main Modules\ContrChart.cs:line 6319
at OpenDental.ContrChart.RefreshModuleScreen(Boolean isClinicRefresh) in C:\SVN\beta\OpenDental\Main Modules\ContrChart.cs:line 3880
at OpenDental.ContrChart.ModuleSelected(Int64 patNum, Boolean isFullRefresh, Boolean isClinicRefresh) in C:\SVN\beta\OpenDental\Main Modules\ContrChart.cs:line 3578
at OpenDental.ContrChart.ModuleSelectedNewCrop(Int64 patNum) in C:\SVN\beta\OpenDental\Main Modules\ContrChart.cs:line 3551
at OpenDental.FormOpenDental.SetModuleSelected(Boolean menuBarClicked) in C:\SVN\beta\OpenDental\Main Modules\FormOpenDental.cs:line 5786
at OpenDental.FormOpenDental.myOutlookBar_ButtonClicked(Object sender, ButtonClicked_EventArgs e) in C:\SVN\beta\OpenDental\Main Modules\FormOpenDental.cs:line 5718
at OpenDental.OutlookBar.OnButtonClicked(OutlookButton myButton, Boolean myCancel) in C:\SVN\beta\OpenDental\User Controls\OutlookBar.cs:line 321
at OpenDental.OutlookBar.OnMouseUp(MouseEventArgs e) in C:\SVN\beta\OpenDental\User Controls\OutlookBar.cs:line 313
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)