Welcome, Guest. Please Login or Register.
May 19, 2024, 12:37:10 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Converters  |  Yabb SE on Ms Sql instead of Mysql « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Yabb SE on Ms Sql instead of Mysql  (Read 1794 times)
Necranom
Noobie
*
Posts: 9


I'm a llama!

Yabb SE on Ms Sql instead of Mysql
« on: March 06, 2003, 09:35:52 PM »
Reply with quote

Hello,

I currently run a site with several thousand registered users.  I am currently ussing YABB Gold and I would like to move to YABB SE.

One of my main reasons for wanting to move to SE is the fact that it uses a DB.  I would like to be able to store all of the board and member data in a MS SQL server instead of MySQL.

I will then write a simple two way trigger that keeps my current user information in synch with the YABB SE usernames and passwords.

Is anyone aware of any attemp to run SE on MS SQL 7 or 2000?  If not could someone help me convert the DB calls to point to a MS server instead of MYSQL?

Any advice, help, or ridicule will be ost welcome.

Thanx,
Necranom
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Yabb SE on Ms Sql instead of Mysql
« Reply #1 on: March 06, 2003, 09:39:30 PM »
Reply with quote

Right now there isn't a way to use a MSSQL database(it would require YaBBSE to be rewritten).

YaBBSE2 will have multiple database types including MSSQL when it comes out. So until then you are either going to have to use a MySQL database, or wait for YaBBSE2.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Necranom
Noobie
*
Posts: 9


I'm a llama!

Re:Yabb SE on Ms Sql instead of Mysql
« Reply #2 on: March 06, 2003, 09:48:32 PM »
Reply with quote

Ok,

I guess I will just monkey with it until the next release...

On another note, could you tell me how to get YABBSE to store the user passwords in clear text rather than encoding them?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Yabb SE on Ms Sql instead of Mysql
« Reply #3 on: March 06, 2003, 09:59:02 PM »
Reply with quote

wouldn't that be UNSECURE?
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Yabb SE on Ms Sql instead of Mysql
« Reply #4 on: March 06, 2003, 10:04:39 PM »
Reply with quote

They are encrypted to keep members passwords secure. They cannot be unencrypted(without a TON of effort and time).
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Necranom
Noobie
*
Posts: 9


I'm a llama!

Re:Yabb SE on Ms Sql instead of Mysql
« Reply #5 on: March 06, 2003, 10:37:11 PM »
Reply with quote

First of all thank you for taking the time to answer my questions.

I do realize that by not encrypting the passwords the system is unsecure.  I wanted to look at teh section(s) of code in SE, that handle the encryption to see if I could a) bypass or b) modify them.

The reason I want to do this is because my other systems use a custom encryption method and I want to be able to match up vlaues from one system to another.

If the code to encrypt the passwords is spread all over the place, nevermind.  If however it is in just a few them I would greatly appreciate it if you could point me in the right direction.


Thanks again for all your help,
Necranom
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:Yabb SE on Ms Sql instead of Mysql
« Reply #6 on: March 07, 2003, 01:39:58 AM »
Reply with quote

just search for the instances of crypt(). the reason that yse won't work with mssql is because mysql isn't ascii compatible and there are queries written for mysql. If you were to take a look at all of the queries and make sure they worked in mssql, than you could. THey would probably require a lot of small changes all over the place.
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
irbrian
Sr. Member
****
Posts: 489


I create. Therefore I am.

brian@inverse-reality.com WWW
Re:Yabb SE on Ms Sql instead of Mysql
« Reply #7 on: March 07, 2003, 02:48:19 AM »
Reply with quote

The biggest incompatibility I'm aware of between MySQL and MS SQL, as far as YaBB SE Classic (1.x) is concerned, is MySQL's LIMIT clause.

So far, I have not found a decent way to emulate this capability with MS SQL (or any other SQL-based database server) without adding additional lines of code.
Logged

Imparting great wisdom daily to those who will mistake my words as such.
noir
Noobie
*
Posts: 12


I'm not a llama! I just look like one.

Re:Yabb SE on Ms Sql instead of Mysql
« Reply #8 on: April 06, 2003, 12:39:12 AM »
Reply with quote

InterBase/Firebird 1.0 has very similar SELECT FIRST n SKIP m construction.  And SP's can do anything on the Earth anyway :)... Slowly, but  still faster than PHP code itself :)

But after little dabbling in SE code i'd agree - porting it to anything not MySql would be tough, and optimization will be trashed completely.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Converters  |  Yabb SE on Ms Sql instead of Mysql « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.014 seconds with 16 queries.