I just installed SQL Server7 in my computer and tried to set
the localhost as the server. Operating system is
Windows2000. But connection is alreays failed. How can I
configure my computer or where can I find some article about
this? Thank you!
My system in my lab is a Sun Sparc SunBlade 100.
I am running Win2K *inside* Solaris 8 on this machine.
I downloaded mysql-3.23.49-win.zip and installed
under the Win2K system. Every time, when I run
mysql.exe at c:\mydql\bin, I get such an error message.
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)
I run the same version of MySql at home with my PC
which runs Win2K. I don't have this problem at home.
Can anybody kindly educate me please?
I got the same error message even aft
I run MySql under Solaris 8 very well. I inserted a user called
jack into the user table of mysql database like this:
mysql>INSERT INTO user (Host, User, Password)
-> VALUES('localhost', 'jack', PASSWORD('johnson'));
Query OK, 1 row affected (0.00 sec)
I checked the table, and see that user jack is there.
Here is a part of my JDBC test code, which accesses the demodb database
I have created for test use.
import java.net.*;
import java.sql.*;
import java.io.*;
import java.util.*;
class MyS
Hi thanks man
That what i did, the JDBC driver standalone testing code is working well when
it called by a JAVA main file, but not when called by JSP file. The code i use
is following:
try{
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con = DriverManager.getConnection(
"jdbc:mysql://localhost/mike ?user=mike&password=mike");
System.out.println("connected to database");
} catch(ClassNotFoundException cnfe){
error="ClassNotFoundException: Could not loc
Ya that was i tried, but still not working. When i use printSteakTrace instead
of errorException, it shows 'No suitable Driver'. Definitely, it results from
wrong URL which specified in DriverManager. And also the driver actually has
already found out. So i use IP and domain mane instead of 'Localhost', it
returns a null pointer, that means no database connected and i can't do
anything on Database.
Any idea?Thx
【 在 macelee (星星) 的大作中提到: 】
在EAServer 建了Profile
总是连不上
以前是pb8就死在那
现在有如下错误
SystemException:CORBA::Comm_Failure
参数如下
Server Name:localhost(因为是本机)
Port Number:9000
Login Name:jagadmin
Password:空的
这设置对否?
在Jaguar Manager里
用以上参数connect to Jaguar Server
说是The server is not running or is unreachable
due to problem with listener or network configuration
我已经在服务里起动Jaguar了
但一连后Jaruar就断了(在服务里看到的)
这是怎么回事啊?
装好pb后没进行过设置
对了,在装Jaguar时说要装ASA6
但pb8带的是ASA7
有关系么?
谢谢!
用db2jstrt 50000开启了java daemon
而且telnet ip 50000成功
能在server的clp下connet to dbname and select * from tablename
用COM.ibm.db2.jdbc.net.DB2Driver
url = "jdbc:db2://"+"ip:50000"+"/dbname"
正确的用户名和password
connect时返回错误"sql1031N The database directory cannot be found one the
indicated file system.SQLSTATE=58031"
list database directory看dbname and alias正常
有大虾遇到这情况吗?
btw,一样的程序连自己win2000 localhost的db没问题。就是连远程host出问题。
Hi, all:
In setting up the password for the root user, I have used the command
DELETE FROM user WHERE Host='localhost' AND User='';
It is used to delete the anonymous users, and prevent them from logging in.
Yet, when I use "mysql -u abc" to login, it still can be successful.
Haven't I deleted the anonymous users from the user tables? I have checked my
user table again, only "root" and "mysql" are present. No other users in the
table.
Then how can user "abc" to log in?
thanks for any suggestions
By default mysql allows local user (from localhost) to login
without password. These users can only use database "test".
I don't know how to disable it. An easy way is to delete
database "test", thus anonymous user can do few things.
Digging the manual of mysql, you might find way to disable
anonymous login.
Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-10-27 20:12 CDT
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1648 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
3306/tcp open mysql
my $dbh = DBI->connect("DBI:mysql:database=mydb;
host=192.168.0.10;port=3306",
"root", "",
{'RaiseError' => 1});
事情是这样,俺要装一个数据库,是一个杂志历年所有的文章,安装之后应该在我的本
地电脑上有一个可以搜索的数据库。
我装了,可是运行的时候出现这个 (以下是所有网页显示的内容):
Cannot use database
The URL Is: http://localhost:81/XXX/columns.php?action=columns
MySQL Server Error:
Can't connect to MySQL server on 'dbhost' (10061) ( 2003 )
You Can Get Help In: http://www.phpwind.net
今天早上我在公司里的一台服务器运行MATLAB的程序和MySQL的程序,IT里的一个白痴
在服务器上装了个程序,不管其他人还在用着,直接就把服务器重启了。等我重新登录
进我的账户后,再运行MYSQL,就怎么也启动不了。 错误消息是: Can not connect
to the MySQL server 'localhost'(10061)
查了一下windows的service发现MySQL没有启动,我试着手动去启动它,总是错误消息
:Can not start the MySQL service on local computer. Error 1067 The service
terminated unexpectedly.
我看了下MySQL的错误日记,发现两个plugin被禁用了。
100812 14:14:52 [Note] Plugin 'InnoDB' is disabled.
100812 14:14:52 [Note] Plugin 'FEDERATED' is disabled.
100812 14:14:52 [ERROR] Unknown/unsupporte
【 以下文字转载自 Apple 讨论区 】
发信人: dunfa (蹲着发财), 信区: Apple
标 题: mac os x 10.6 下 使用mySQL 一问
发信站: BBS 未名空间站 (Fri Sep 10 18:53:29 2010, 美东)
用 Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive 安装了 mySQL cluster,
在 terminal 里运行 mysql 后,
输入 create database mydb,
提示 Access denied for user ''@'localhost' to database 'mydb'
是怎么回事,如何解决?谢谢.
郁闷搞了3天了deploy cube一直报错连不上服务器
公司机器:
本人computer不是admin,data source design view里面选中要连接的server,相应的数
据库也出来了,test connection成功!
右击properties里面deployment也是一致server和database,但是最后deploy还是说连
不上server
google了很久,这个帖子说
I also faced same issue while trying to deploying AdvantureWords Analysis
service.
I changed the following setting and after that i am able to deploy
successfully.
1) Change the SQL server Browser service running Account to Local System
Account
2) Create My Login Account in SQL >Security->Logi... 阅读全帖
mysql workbench 5.2 run server instance 运行出了一个问题:
Connecting to MySQL server localhost...
Can't connect to MySQL server on '127.0.0.1' (10061)
看着文档怎么也解决不了,又没有人帮忙一下?
谢谢.
aiyohei is right! you may want to try mysql_upgrade here is an example,
mysql_upgrade -u root -h localhost -p --verbose --force
note: no warranty, take your own risk! haha
are you able to access the wsdl file from your browser?
if it is the case, you could manually enter the wsdl file location
like this: http://localhost/mywebservice.asmx?wsdl
Use Open Project from Web (File menu, Open item)
Type the url: eg: //localhost/yourvirtualdir
sa is System Admin bah(I guess), try to leave the passwd field empty
Hope it helps
I set up a webservice in Visual studio.net 2002. I am trying to change the web
method's name, but always get error. How to change the web method's name after
webservice has been set up? Acturally, I have refreshed "localhost"in
"solution explorer", but the web method's name cannot be changed in wsdl file.
Please help, thanks a lot!!!
It is a buy in asp.net
The solution varies upon your lucky. :(
Try this: after you set the IIS, remove the project from the solution and re-
add the project into the solution by opening from the URL http://localhost.... instead of the local project file.
if ( page >= abc ) then
Response.write(page & " > " & abc & " ")
else
Response.write("page is less than IND ")
end if
%>
I guess the problem is from page, which may be STRING. But how can I convert
it to number?
Since 127.0.0.1 is the address for localhost, you can use
"127.0.0.1, [sql_server_port]" as the data source. Sql server
configuration manager shows the port your server uses.
by default, sql express is installed as a named instance.
in this case, the correct syntax for specifying Data Source is
either
localhost\sqlexpress
or
.\sqlexpress
you shouldn't need to specify a port number.
Sorry I can't type Chinese from this computer.
I installed IIS 5.1 on my XP professional, but when I tried http://localhost from the browser, a window jumped out requiring username and password(please see the picture). When I was installing this IIS, I didn't see any step asking me to set up username and password. And it is not my computer's administrator username and pwd either. Does anybody know this kind of problem? Tons of Thanks.
Also, I downloaded and installed IIS 7.0 before IIS 5.1 which
What the OS and HTTP server?
Have you tried localhost and computer name?
If you capture traffic do you see significant difference in tcp response
time?
First thing came into my mind is storage I/O and caching related issues, but
it doesn't sound like the case here.
Can you replicate this problem with other HTTP clients? I don't know how C#
handles network traffic.
I have never noticed this issue with IIS6/7 and any HTTP browser