1 of 2
1
MySQL in strict mode
Posted: 14 August 2007 11:04 AM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

I guess I already know the answer to this, but I checked the EE system requirements with my web hosts, and they came back with an okay on everything… except that they said “MySQL server runs in Strict mode for security purposes”.

Does this categorically mean that I’m outta luck? (I’m on shared hosting so I can’t see them changing the server mode just for me). Am I really going to have to look at Wordpress or some other solution after all?

Profile
 
 
Posted: 14 August 2007 01:50 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

Only the Windows installer for MySQL defaults into Strict mode because a great number of apps are not compatible with it, and it is rare to find a non-Windows host running MySQL in Strict mode.  (There’s not anything more “secure” about Strict mode, incidentally; security comes primarily from the application, not the database)  ExpressionEngine 2.0 will be compatible with Strict mode, and that is where our development time is focused.  Hopefully you will be able to find a suitable environment that is not running in Strict mode if you wish to use the current version of ExpressionEngine, but I’m afraid it will not function otherwise.

 Signature 
Profile
MSG
 
 
Posted: 14 August 2007 02:10 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

Thanks for that Derek.

Unfortunately I think it means I’m out of the game on this. I checked with my hosts (1and1 Internet Ltd) and they were adamant that they could not run the MySQL server in non-strict mode for security reasons. I hear what you say about the security myth, but since I’d never even glanced at MySQL until about 3 days ago, I’m in no position to mount a convincing argument about that.

It’s a real shame though, because having looked closely at both WordPress and Expression Engine I know that EE is the one I would much prefer to use. But, since I changed hosts only a few months ago (and that was a nightmare) I’m not exactly anxious to start that all over again. So I can’t see any option but to pass, I think.

Bleugh.

Profile
 
 
Posted: 14 August 2007 02:16 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

Odd, there are a number of users running ExpressionEngine who use 1and1 as their host.  Could be that the particular server they have you on has that limitation.  Are you using their Windows or Linux hosting?

 Signature 
Profile
MSG
 
 
Posted: 14 August 2007 02:24 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

Linux. I’ve got a ‘Business’ web hosting package with them.
Maybe 1and1 in the US has a different policy than in the UK?

Profile
 
 
Posted: 14 August 2007 02:33 PM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

It’s UK users who I specifically remember.  You might search the forums for 1and1 and either post to the threads where these users mention using it successfully, or private message them to see if they are still using them.

 Signature 
Profile
MSG
 
 
Posted: 14 August 2007 02:38 PM   [ Ignore ]   [ # 6 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

Good idea, and thanks for the info. I’ll see what I can dig up, and if I find anything worth reporting, I’ll… report it.

Profile
 
 
Posted: 14 August 2007 02:45 PM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

Ok, good luck!

 Signature 
Profile
MSG
 
 
Posted: 14 August 2007 02:50 PM   [ Ignore ]   [ # 8 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

Well, it was a good plan until I discovered that they don’t appear to have a user forum.
I’ll keep at them by email and see what gives.

Profile
 
 
Posted: 14 August 2007 02:56 PM   [ Ignore ]   [ # 9 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

Sorry, let me clarify: I mean searching our forums for the term ‘1and1’.  You’ll find a number of users reporting success.

 Signature 
Profile
MSG
 
 
Posted: 14 August 2007 03:03 PM   [ Ignore ]   [ # 10 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

Uhh, yeah, that wwould make more sense. Sorry, it’s been a looong day, and it ain’t oveer yet.
Not by a long shot.

Profile
 
 
Posted: 14 August 2007 03:23 PM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

I think we’ve all had those day.  :-D

 Signature 
Profile
MSG
 
 
Posted: 14 August 2007 04:21 PM   [ Ignore ]   [ # 12 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

From 1and1 tech support:

MySQL 5.0 added a strict mode where by it follows standard SQL in a number of ways in which it did not previously. Support for standard SQLSTATE error messages was also implemented.

So that’s that I guess.
Hmmm.

Profile
 
 
Posted: 15 August 2007 11:50 AM   [ Ignore ]   [ # 13 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

Update:
Apparently 1&1;‘s managed servers (as opposed to Shared Hosting, which I’m on) run MySQL4, which doesn’t have the strict mode. But switching to Managed servers is maybe a bit more of a jump than I’m ready for at this point (5x the cost). And then there’s no guarantee that they wouldn’t soon upgrade the managed servers to MySQL5 and I’d be back to square one.

So I think I’m still going to have to decide whether to jump-ship (host-wise) or simply adopt a different blogging/CMS engine.

PS. Thanks to Simon Rudkin for his helpful input (off-forum) on this matter.

Profile
 
 
Posted: 15 August 2007 11:58 AM   [ Ignore ]   [ # 14 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15845
Joined  06-03-2002

Thanks for the update, Rick!

 Signature 
Profile
MSG
 
 
Posted: 15 August 2007 12:13 PM   [ Ignore ]   [ # 15 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1097
Joined  03-22-2006

That’s odd, we have a client site hosted on 1and1, presumably it is a shared hosting environment (professional package). The database is mysql 5, and runs EE fine…

The mystery deepens smile

 Signature 

(a.k.a the_butcher)

Profile
 
 
Posted: 15 August 2007 12:36 PM   [ Ignore ]   [ # 16 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

Hmm.
Butcher: Is that 1and1.co.uk? Or elsewhere?

Profile
 
 
Posted: 15 August 2007 01:26 PM   [ Ignore ]   [ # 17 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2558
Joined  05-17-2002

**cough cough**

EngineHosting

**cough cough**

 Signature 
Profile
MSG
 
 
Posted: 15 August 2007 01:28 PM   [ Ignore ]   [ # 18 ]  
Summer Student
Avatar
Total Posts:  18
Joined  08-14-2007

I was under the impression that Engine Hosting is based in the US. Is that not the case?
I need a UK-based (or at the very least EU-based) host, to comply with UK data protection legislation. I think.

Profile
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65027 Total Logged-in Users: 40
Total Topics: 82116 Total Anonymous Users: 23
Total Replies: 441311 Total Guests: 188
Total Posts: 523427    
Members ( View Memberlist )