Category Archive for "SQL Server"

How to create new user in PhpMyAdmin at localhost

How to create new user in PhpMyAdmin at localhost? Go to phpmyadmin at your localhost if you are using xampp server than go with http://localhost/phpmyadmin or if you are using easyphp than go with Now you can see different links related to phpmyadmin like database, sql, status, variables etc. Click on Privileges and now you will see different user is availble in your phpmyadmin. Look at the below of your list of users there is a link i.e. Add…

Read More

How to connect different database in ASP.Net

How to connect database in ADO Database Connection Create a DSN-less Database Connection The easiest way to connect to a database is to use a DSN-less connection. A DSN-less connection can be used against any Microsoft Access database on your web site. If you have a database called “northwind.mdb” located in a web directory like “c:/inetpub/wwwroot”, you can connect to the database with the following ASP code: <%set conn=Server.CreateObject("ADODB.Connection")conn.Provider="Microsoft.Jet.OLEDB.4.0"conn.Open "c:/inetpub/wwwroot/northwind.mdb"%> Note, from the example above, that you have to…

Read More

How to connect different database in ASP

How to connect database in ASP (Active Server Page)? SQL Server 2005 This is a compiled connection strings reference list on how to connect to SQL Server 2005. SQL Native Client ODBC Driver Standard security Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase; Uid=myUsername;Pwd=myPassword; Are you using SQL Server 2005 Express? Don’t miss the server name syntax Servername SQLEXPRESS where you substitute Servername with the name of the computer where the SQL Server 2005 Express installation resides. Trusted Connection Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase; Trusted_Connection=yes; Equivalent key-value…

Read More