LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-28-2006, 09:45 PM   #1
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
MySQL "errors 1364, 1048"


Hi
I've that problem
_________________________

mysql> insert into user (host, user,password)
-> values ("localhost", "someone", password(""));
ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value
mysql> insert into user (host, user,password, ssl_cipher)
-> values ("localhost", "someone", password(""), null);
ERROR 1364 (HY000): Field 'x509_issuer' doesn't have a default value
mysql> insert into user (host, user,password, ssl_cipher, x509_issuer)
-> values ("localhost", "someone", password(""), null, null);
ERROR 1364 (HY000): Field 'x509_subject' doesn't have a default value
mysql> insert into user (host, user,password, ssl_cipher, x509_issuer, x509_subject)
-> values ("localhost", "someone", password(""), null, null, null);
ERROR 1048 (23000): Column 'ssl_cipher' cannot be null
___________________________
and I found that there are alot have the same thing but I couldn't find a clear answer
Is there a way to set a defualt values for every thing?
any suggestions?
Thanks

Last edited by ziox; 02-28-2006 at 09:50 PM.
 
Old 03-01-2006, 01:58 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
alter table user set ssl_cipher varchar(30) null default 'whatever';
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Buzilla issue: "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" vitopn Linux - General 3 05-21-2007 10:13 AM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 06:25 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
MySQL setup stops at command "./configure --prefix=/usr/local/mysql" k41184 Linux - Software 1 05-20-2004 02:44 PM
Transferred data from old HD to New HD,MYSQL ERRORS "HELP" brandog Linux - Software 2 05-01-2003 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration