Welcome visitor
Login - Register - I Forgot My Password - Search - Members
Main Page » How can change this im using MYSQL

How can change this im using MYSQL

<%
':::::::::::::::::::::::::::::::::::::::::: CHOOSE YOUR DATABASE TYPE

DatabaseType = "Access"
'DatabaseType = "MySQL"


':::::::::::::::::::::::::::::::::::::::::: ACCESS DATABASE PATH

':::::::::::::::::::::::: PHYSICAL PATH:

'Connection.Open "DBQ=" & ("C:\your_physical_path\db\iyziforum.mdb") & "; Driver={Microsoft Access Driver (*.mdb)}"


':::::::::::::::::::::::: VIRTUAL PATH:

Connection.Open "DBQ=" & Server.MapPath("db/iyziforum.mdb") & "; Driver={Microsoft Access Driver (*.mdb)}"


':::::::::::::::::::::::::::::::::::::::::: MySQL DATABASE

MySQLServer = "localhost"
MySQLUsername = ""
MySQLPassword = ""
MySQLDatabaseName = "iyziforum"

'Connection.Open = "Driver={MySQL ODBC 3.51 Driver}; Server=" & MySQLServer & "; UID=" & MySQLUsername & "; Pwd=" & MySQLPassword & "; Db=" & MySQLDatabaseName


'::::::::::::::::::::::::::::::::::::::::::

AdditionalTableWord = ""
%>

Which one i need to edit that?

Re: How can change this im using MYSQL

You should first remove the comment characters in front of the lines related to MySQL and put comment characters in front of the other lines. Here it is predone for you:

<%
':::::::::::::::::::::::::::::::::::::::::: CHOOSE YOUR DATABASE TYPE

'DatabaseType = "Access"
DatabaseType = "MySQL"


':::::::::::::::::::::::::::::::::::::::::: ACCESS DATABASE PATH

':::::::::::::::::::::::: PHYSICAL PATH:

'Connection.Open "DBQ=" & ("C:\your_physical_path\db\iyziforum.mdb") & "; Driver={Microsoft Access Driver (*.mdb)}"


':::::::::::::::::::::::: VIRTUAL PATH:

'Connection.Open "DBQ=" & Server.MapPath("db/iyziforum.mdb") & "; Driver={Microsoft Access Driver (*.mdb)}"


':::::::::::::::::::::::::::::::::::::::::: MySQL DATABASE

MySQLServer = "localhost"
MySQLUsername = ""
MySQLPassword = ""
MySQLDatabaseName = "iyziforum"

Connection.Open = "Driver={MySQL ODBC 3.51 Driver}; Server=" & MySQLServer & "; UID=" & MySQLUsername & "; Pwd=" & MySQLPassword & "; Db=" & MySQLDatabaseName


'::::::::::::::::::::::::::::::::::::::::::

AdditionalTableWord = ""
%>


Now just write down your MySQL database information to the necessary lines:

MySQLServer = "localhost"
MySQLUsername = ""
MySQLPassword = ""
MySQLDatabaseName = "iyziforum"

Re: How can change this im using MYSQL

How can I remove it im getting have a problem and still not working I have hosted it in www.my3gb.com and it was a free hosting and it allows everything could you teach me I really like your forum it was so simple. And could you try to install in that server and let me teach me how to install it and I really really like this forum a lot it so so simple... Thanks

Re: How can change this im using MYSQL

As I understand from their site, they do not support ASP. So you should first find a free hosting provider which supports ASP. Also I suggest you to use MS Access instead of MySQL because it is much easier to insall that way.

Re: How can change this im using MYSQL

Do you have any idea how can migrate this ASP script into PHP?

Re: How can change this im using MYSQL

It is a very hard thing to do, it is better to find a hosting with ASP support or use another forum written in PHP.
Main Page » How can change this im using MYSQL
Search - Members
iyzi Forum | Email
iyzi Forum v1.0 Beta 3.01