when I try to do the connectivity of my site using JSP to my database (MySQL) the error shown is something regarding tokens (something wrong with my '=' sign!!). error is for the file:\n<%@ page import="java.sql.*" %>\n<%\nString dDriver = ("com.mysql.jdbc.Driver");\nString dbConn = ("jdbc:mysql/localhost:8080/docinyou","root",""");\n%>\n\nCan someone help me out??
207179
It is probably the Parentheses. The JSP translator can be pretty brittle.
348589
Its going to be difficult without an understanding of some basic programming. You mentioned a MySQL editor, im hoping that this is phpmyadmin, this is what I have used to create databases before. Based on what it sounds like your needs are, you might like to try find a student studying this,and ask for his/her help. The are usually itching to get their hands on something to work with. More professional services are available from sites like rentacoder (rent a coder) - google that - Alternatively look around for some basic connection string tutorials wiht mysql and php, im sure with a little tinkering and a lot of patience you might get it working.
234157
Be sure that the IP or Server name is correct;\nBe sure that the Login and password are correct;\nBe sure that the server has the MSSQL service running.
480197
This code is the minimal. Here it validates the user name and password are admin. In case both the values are admin it allows login. Else it returns an error message - error!\n\nThe only thing that may be confusing for you over here may be the session concept. \n\nThis code has no databse connectivity. Incase you are planning for a database based project use a MS Access connectivity. Its easy.\n\nLet me explain this code\n\n<% IF Request.form="" THEN %> \n<html> <body> In order to access this pages fill the form below:<BR> \n'THIS IS TO POST DATA FROM THE PAGE\n<form method="post" action="index.asp"> \nUsername: <input type="text" name="username" size="20"><BR> \nPassword: <input type="password" name="password" size="15"><BR> \n<input type="Submit" value="Submit"> \n</form> </body> </html> \n<% ELSE %> \n'IF USERNAME AND PASSWORD NOT admin RETURN an ERROR\n<% IF Request.form("username")="admi... AND Request.form("password")="admi... THEN %> \n<% Session("permission")="YES" \nSession("username")="admin" \n%> \n<html> <body> \n'THEN YOU CAN VIEW PAGE1 &  PAGE2\nHi <% =Session("username") %>, you can view: <BR> \n<A HREF="page1.asp">Page 1</A><BR> \n<A HREF="page2.asp">Page 2</A> \n</body> </html> \n<% ELSE %> Error! <% END IF %><% END IF %>\n\nYou can mail me to technoblitzs@yahoo.com incase you have any clarification or want to connect to  a database.
332366
"What is my problem in database connection?"\nThe three potential problems that come to mind are:\n1. You aren't using a password and the account has a password. You need to specify a password for your MySQL account when connecting.\n2. The user does not exist.\n3. Or that user is not permitted to access the database from 'localhost'.\n\nTry using the account 'accountname'@'%', to allow access from anywhere (this is not particularly secure, but it's useful for testing purposes).\n\n\nIf you don't know anything about MySQL or SQL, you are asking in the wrong place. Try a question like "Where can I find good resources for helping me learn SQL?".
301873
r u downloading SUN's java? if not, try it at http://www.java.com/en/download/index.jsp\n\nmake sure you close all browsers before installing it.
595940
Disregard the above URL, it points you to a site that shows you how to make a connection to JDBC, which you seem to have been able to do already, based on your question.\n\nUse this instead:\n\nhttp://archives.postgresql.org/pgsql-bugs/2001-04/msg00216.php
249983
Make an ODBC and then use the JDBC-ODBC Bridge to connect to Access and issue SQL Statements to insert records in your DB!
153490
Hey Kevin - \n\nYour db path looks like it points to a mapped drive. And, that mapped drive may be a USB &#92; Flash drive. My suspicion is that there-in lies your problem.\n\nIf it is a mapped drive & you are able to stick it on the local drive do that just as a test to make sure your code works. You will need to change the connection string.\n\nIf the code does work & you can access the database from a local drive then you've got security or drive caching issues.\n\nMake sure that your code & the user account it is running under has permissions to the drive & folder. If it is a windows app then it is running under your own account.\n\nIf it is a flash drive make sure it doesn't have any security features&#92;software on it. Disable them when you run your code. \n\nIf it is a mapped drive keep in mind that it has to be set to reconnect when you log into the machine. And that it shouldn't be using a special account to log into that drive. \n\nRememeber - mapped drives are a per user concept. When the user logs out, the mapped drive reference goes away. If you have multiple users using this path they all have to use the same drive letter name. Mapped drives can fail in web apps and windows service apps even if it appears the mapped drive exists. As soon as you log out that mapping is gone. \n\nI really hope this helps. I don't have an IDE on the computer I'm on so I didn't really get to look at your code. If you really get stuck please feel free to contact me. \n\ngood luck
62107
I'm not sure if you have already installed MySQL and need help setting up the database or need help installing.  If you need help installing, check out http://groups.google.com and type in installing mysql.  You can usually find a wealth of knowledge on there.  If you have the program installed but need to setup the database, check out Webmin (http://www.webmin.com).  It is a web based application that makes setting up different aspects of a server much easier.
475979
mysqlimport does exactly that. \n\nhttp://dev.mysql.com/doc/refman/5.0/en/mysqlimport.html
334479
http://java.sun.com/developer/Books/JDBCTutorial/
543923
try these link baby..hope it work\nhttp://www.dizzay.com/dizzaymysql/index.asp
156631
You can do this with ASP>net and SQl connection object.\nYou can also use Jav and JDBC
68872
You're missing a slash. It should be mysql://
3580
This is bacaouse the report is pointing to a database Path which was hardcoded at the design time.\n\neg. While development the database path was C:&#92;Data&#92;Vbdata&#92;Myproject&#92;CRM&#92;data.mdb\n\nbut you might not have the database at same path. so ask the developer to rectify the mistake
275421
XML and database import-export - I had a lot of problem recently to import xml into MySQL, it works easy however the otherway.