Click here to Skip to main content
15,898,222 members
Home / Discussions / Database
   

Database

 
GeneralRe: mysql decimal fromat like ##.## Pin
Shweta N Mishra23-Nov-14 2:06
professionalShweta N Mishra23-Nov-14 2:06 
GeneralRe: mysql decimal fromat like ##.## Pin
Gilbert Consellado24-Nov-14 12:47
professionalGilbert Consellado24-Nov-14 12:47 
QuestionProblem in Insering Long text in mysql from c# Pin
Ramachandra12720-Nov-14 7:09
Ramachandra12720-Nov-14 7:09 
GeneralRe: Problem in Insering Long text in mysql from c# Pin
PIEBALDconsult20-Nov-14 7:33
mvePIEBALDconsult20-Nov-14 7:33 
QuestionSQL Replace Function - error recognizing two or more strings Pin
miss78617-Nov-14 23:44
miss78617-Nov-14 23:44 
AnswerRe: SQL Replace Function - error recognizing two or more strings Pin
Richard Deeming18-Nov-14 2:53
mveRichard Deeming18-Nov-14 2:53 
GeneralRe: SQL Replace Function - error recognizing two or more strings Pin
miss78618-Nov-14 3:53
miss78618-Nov-14 3:53 
GeneralRe: SQL Replace Function - error recognizing two or more strings Pin
Richard Deeming18-Nov-14 6:00
mveRichard Deeming18-Nov-14 6:00 
GeneralRe: SQL Replace Function - error recognizing two or more strings Pin
PhilLenoir18-Nov-14 10:41
professionalPhilLenoir18-Nov-14 10:41 
GeneralRe: SQL Replace Function - error recognizing two or more strings Pin
miss78620-Nov-14 1:45
miss78620-Nov-14 1:45 
GeneralRe: SQL Replace Function - error recognizing two or more strings Pin
PhilLenoir20-Nov-14 3:13
professionalPhilLenoir20-Nov-14 3:13 
AnswerRe: SQL Replace Function - error recognizing two or more strings Pin
PhilLenoir18-Nov-14 3:41
professionalPhilLenoir18-Nov-14 3:41 
Questionsuggest various tables for shopping site Pin
smart_vikas12-Nov-14 18:53
smart_vikas12-Nov-14 18:53 
AnswerRe: suggest various tables for shopping site Pin
Jörgen Andersson12-Nov-14 19:59
professionalJörgen Andersson12-Nov-14 19:59 
AnswerRe: suggest various tables for shopping site Pin
Mycroft Holmes12-Nov-14 22:40
professionalMycroft Holmes12-Nov-14 22:40 
QuestionRe: suggest various tables for shopping site Pin
Eddy Vluggen13-Nov-14 7:18
professionalEddy Vluggen13-Nov-14 7:18 
AnswerRe: suggest various tables for shopping site Pin
PIEBALDconsult13-Nov-14 7:35
mvePIEBALDconsult13-Nov-14 7:35 
QuestionLONGTEXT not accepting large text! Pin
Jassim Rahma12-Nov-14 9:15
Jassim Rahma12-Nov-14 9:15 
AnswerRe: LONGTEXT not accepting large text! Pin
PIEBALDconsult12-Nov-14 9:20
mvePIEBALDconsult12-Nov-14 9:20 
GeneralRe: LONGTEXT not accepting large text! Pin
Jassim Rahma12-Nov-14 9:51
Jassim Rahma12-Nov-14 9:51 
AnswerRe: LONGTEXT not accepting large text! Pin
Richard Deeming12-Nov-14 9:55
mveRichard Deeming12-Nov-14 9:55 
GeneralRe: LONGTEXT not accepting large text! Pin
Jassim Rahma12-Nov-14 9:59
Jassim Rahma12-Nov-14 9:59 
what else it could be?

I tried saving a very small image and it was find but when I save larger image in the html (less than 1 mb image) I'll get that error.

this is the complete error:

MySql.Data.MySqlClient.MySqlException was unhandled
  HResult=-2147467259
  Message=Data too long for column 'param_message' at row 2
  Source=MySql.Data
  ErrorCode=-2147467259
  Number=1406
  StackTrace:
       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.ExecuteReader()
       at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
       at BizCards.frmMessage.btnSave_ItemClick(Object sender, ItemClickEventArgs e) in c:\Users\CakeBoutique\Documents\Visual Studio 2012\Projects\BizCards\BizCards\message.cs:line 100
       at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
       at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
       at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
       at DevExpress.XtraBars.BarItemLink.OnLinkClick()
       at DevExpress.XtraBars.BarButtonItemLink.OnLinkClick()
       at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
       at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
       at DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)
       at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
       at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
       at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)
       at DevExpress.XtraBars.Controls.DockedBarControl.WndProc(Message& msg)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at BizCards.frmMain.btnMessages_Click(Object sender, EventArgs e) in c:\Users\CakeBoutique\Documents\Visual Studio 2012\Projects\BizCards\BizCards\main_form.cs:line 455
       at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
       at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
       at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at BizCards.Program.Main() in c:\Users\CakeBoutique\Documents\Visual Studio 2012\Projects\BizCards\BizCards\Program.cs:line 20
  InnerException: 



Technology News @ www.JassimRahma.com

GeneralRe: LONGTEXT not accepting large text! Pin
Richard Deeming12-Nov-14 10:03
mveRichard Deeming12-Nov-14 10:03 
GeneralRe: LONGTEXT not accepting large text! Pin
Jassim Rahma12-Nov-14 10:08
Jassim Rahma12-Nov-14 10:08 
GeneralRe: LONGTEXT not accepting large text! Pin
Richard Deeming12-Nov-14 10:12
mveRichard Deeming12-Nov-14 10:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.