[SOLVED]Host switched form MySQL4 to MySQL5

Support for IntegraMOD 141

Moderator: Integra Moderator

[SOLVED]Host switched form MySQL4 to MySQL5

PostAuthor: cbrin44 » Mon Feb 26, 2007 10:44 pm

Your phpBB Version: 2.0.22
phpBB Type: phpBB / IMPortal
MODs: No
Your knowledge: Basic Knowledge
Board URL: http://www.millennyummarine.com

PHP Version:
MySQL Version: MySQL5


What was done before the problem appeared?
Installed on host with MySQL4


What was done to try to solve the problem?




De.scription and Message

Hello,

I am in the process of upgrading my site with 1.4.1.
Fresh install, just started applying my theme.
The host switched from MySQL4 to MySQL5, is there something easy to do to make it work? or would I be better off just doing a fresh install?

Thanks,
Christian
Last edited by cbrin44 on Sun Mar 04, 2007 6:49 pm, edited 1 time in total.
User avatar
cbrin44
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 6:23 pm
Cash on hand: 0.00

Re: Host switched form MySQL4 to MySQL5

PostAuthor: found it » Tue Feb 27, 2007 12:51 am

If you have upgraded to 1.4.1 or are going to, it will work just fine on php5 and mysql5 as the present is built just to do that...

If you do recieve any errors for any reason please do not hesitate to let us know and we can help you fix them...

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

Re: Host switched form MySQL4 to MySQL5

PostAuthor: Ma®©uS » Tue Feb 27, 2007 1:25 am

If you've got MySQL 5 try setting your e-Tegra setup to use MySQL Improved functionality.

In your config.php try setting your:
Code: Select all
$dbms = 'mysql';

or possibly its:
Code: Select all
$dbms = 'mysql4';

to:
Code: Select all
$dbms = 'mysqli';


If it doesn't work or if errors occur just change it back... but it's worth trying to take advantage of the new version of MySQL as much as possible! <img>

Note: You also need to be using PHP5 to use "mysqli", it's not available on PHP4.
Last edited by Ma®©uS on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
..: Ma®©uS :..
[url=http][img=left]http://www.phobbia.net/mods/images/sigs/phobbia.gif[/img][/url]
User avatar
Ma®©uS
Members
Members
 
Posts: 33
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 27, 2006 11:14 pm
Cash on hand: 0.00

Re: Host switched form MySQL4 to MySQL5

PostAuthor: cbrin44 » Wed Feb 28, 2007 7:47 am

Hello,

Probably didn't clarify good enough.

I had my 1.4.1 site up and running great.
My host switched over to MySQl 5, then it stopped working.
I tried some of the fixes suggested here, to no avail.

I figured I wasn't that far into my theme and set-up, so I tried a fresh install.

I enter all the info. on the set-up page and this is the error I get:

"An error occurred trying to update the database
Field 'cat_desc' doesn't have a default value"

Any ideas??

Christian
Last edited by cbrin44 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
cbrin44
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 6:23 pm
Cash on hand: 0.00

Re: Host switched form MySQL4 to MySQL5

PostAuthor: Drop-Forged » Wed Feb 28, 2007 8:09 am

If you are doing a fresh install you should, either

1. login to phpMyAdmin, and drop all the tables from your first unsuccessful install and then reinstall.

Or

2. Change the name of your prefix from phpbb_ to something else, (like imod_ or something) and then reinstall.
Last edited by Drop-Forged on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http][img=left]http://www.christiansoldiers.com/Sig/sig.png[/img][/url]
[url=http]Free IntegraMod 141 Themes at webhutch.net[/url]

Drop-Forged
Integra Member
Integra Member
 
Posts: 167
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 7:07 pm
Cash on hand: 0.00

Re: Host switched form MySQL4 to MySQL5

PostAuthor: cbrin44 » Thu Mar 01, 2007 8:29 am

Hello,

Fresh Install.
I have tried dropping all tables and deleting the database.
I created a new one, same error. I tried a different prefix, same error. I have done this a few times.

The error is
"An error occurred trying to update the database
Field 'cat_desc' doesn't have a default value"

Is this a host issue? The sql version is, MySQL 5.1.15

This was a perfectly running 1.4.1 website till the host switched from MySQL 4.
He says it should be compatible.

Thanks,
Chrisitan
Last edited by cbrin44 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
cbrin44
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 6:23 pm
Cash on hand: 0.00

Re: Host switched form MySQL4 to MySQL5

PostAuthor: cbrin44 » Sat Mar 03, 2007 5:47 pm

Update,
After trying different installs, I get the same error when trying to install 1.4.1(see previous post)

I cleared everything and did a fresh install of phpbb2.0.22, works great.
I then tried an upgrade to 1.4.1 seemed to work, forum would not display kept getting a netcletic/minical error and I coould not log in, locked. Tried the fixes for that, nothing.

I now have just a plain phpbb board.

Like I said, this was a fully functional 1.4.1 website till the host switched to mysql5.
I really like 1.4.1

Any help?

Christian
Last edited by cbrin44 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
cbrin44
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 6:23 pm
Cash on hand: 0.00

Re: Host switched form MySQL4 to MySQL5

PostAuthor: Teelk » Sat Mar 03, 2007 8:28 pm

Ask your host to switch "SQL Strict mode" to off.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Host switched form MySQL4 to MySQL5

PostAuthor: cbrin44 » Sun Mar 04, 2007 6:48 pm

That did it! Teelk
Thank you as usual for your GREAT support, everyone.

Thanks,
Christian
Last edited by cbrin44 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
cbrin44
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 6:23 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: Google [Bot], Majestic-12 [Bot], Vendethiel

cron