由买买提看人间百态

topics

全部话题 - 话题: localhost
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
l**w
发帖数: 6
1
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!
m****f
发帖数: 32
2
来自主题: Database版 - Problem Running MySql on W2K
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
m****f
发帖数: 32
3
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
m*****g
发帖数: 8
4
来自主题: Database版 - HELP!!!Connect to MySQL in JSP
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
m*****g
发帖数: 8
5
来自主题: Database版 - HELP!!!Connect to MySQL in JSP
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 (星星) 的大作中提到: 】
t********k
发帖数: 808
6
来自主题: Database版 - 我的EA Server怎么回事?
在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
有关系么?
谢谢!
k****i
发帖数: 1072
7
来自主题: Database版 - jdbc to db2 on linux问题
用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出问题。
B*******e
发帖数: 3882
8
来自主题: Database版 - oracle 9i problem
no, I can connect normal user as "normal"
have u ever tried to connect through http://localhost:(your port)/isqlplus?
z***y
发帖数: 7151
9
来自主题: Database版 - [转载] 关于localhost的问题


这是由于web服务器没有识别asp+文件. 你的安装过程没有问题?
j***y
发帖数: 2074
10
来自主题: Database版 - anonymous login in mysql?
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
l**u
发帖数: 35
11
来自主题: Database版 - anonymous login in mysql?
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.
b****e
发帖数: 1275
12
【 以下文字转载自 SanFrancisco 讨论区 】
【 原文由 breeze 所发表 】
如何往mysql里面写中文啊?我读了半天RTFM, 把character set change to gbk,
collate to gbk_chinese_ci, jdbc string也加上了
jdbc:mysql://localhost/test?user=xxx&useUnicode=true&characterEncoding=gb2312
怎么读出来还是乱码? google找到一个台湾老大说set properties 也没用。搞得我觉
都没水好,早早起来了。请指教一二,不胜感激。
c**t
发帖数: 2744
13
来自主题: Database版 - Cannot connect to the mysql server insid
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});
t********k
发帖数: 808
14
另外我用jdbc接连oracle,好象上面的异常是不抛出了
但还是有点问题
用下面的测试代码
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con = DriverManager.getConnection(
"jdbcracle:thin:@localhost:1521rcl",
"scott", "tiger");
String sql = "{?=call PckgStudSltCourse.addStudPreSltCourse(?,?,?,?)}";
ResultSet rs = null;
CallableStatement cs = con.prepareCall(sql);
cs.registerOutParameter(1,java.sql.Types.INTEGER);
String [] courseIDs = {"12","34","56"};
int count = 0;
cs.setString(2,years);
cs.setString(3,termID);
cs.setStri
w*******e
发帖数: 1622
15
不知道你想问啥?
如果是想configure remote server, 在进入Feature前,有个选项:
Configure Surface Area for localhost [change computer]
你可以change computer....
k********e
发帖数: 702
16
server host: localhost
username: root
password:
man, you really should use command line:
c> mysql -u root -p
mysql>show databases
f*******3
发帖数: 232
17
事情是这样,俺要装一个数据库,是一个杂志历年所有的文章,安装之后应该在我的本
地电脑上有一个可以搜索的数据库。
我装了,可是运行的时候出现这个 (以下是所有网页显示的内容):
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
b**********7
发帖数: 389
18
来自主题: Database版 - 急问一个数据库的问题
今天早上我在公司里的一台服务器运行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
d***a
发帖数: 316
19
【 以下文字转载自 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'
是怎么回事,如何解决?谢谢.
M*****r
发帖数: 1536
k*****n
发帖数: 361
21
郁闷搞了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... 阅读全帖
s******u
发帖数: 247
22
来自主题: Database版 - mysql 需要装哪个版本阿?
mysql workbench 5.2 run server instance 运行出了一个问题:
Connecting to MySQL server localhost...
Can't connect to MySQL server on '127.0.0.1' (10061)
看着文档怎么也解决不了,又没有人帮忙一下?
谢谢.
c*********e
发帖数: 16335
23
现在貌似server满天飞,自从apache之后,jboss,glassfish之类的在j2ee eclipse上
流行。各种各样的免费server,让开发的时候有个localhost.
s**********o
发帖数: 14359
24
来自主题: Database版 - 请教SQL server版本
sql server express localhost,不要VISUAL STUDIO,有SSMS有个够了
m********8
发帖数: 295
25
来自主题: Database版 - 求救,升级mysql后table not exist
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
s****a
发帖数: 6521
26
来自主题: Database版 - Mysql无法远程连接,求助
MySQL在服务器上,服务器的两个ip分别为
eth1 192.168.0.12,这个可以用局域网其他 192...开头的地方 ssh;
eth0 10.1.1.1, 这个无法从其它地方ssh,应该是连接cluster其他node的网卡?
现在的问题是,远程无法连接MySQL
在服务器本机,用 mysql -h 10.1.1.1 可以连接; -h localhost 可以连接; -h 127
.0.0.1也可以连接。但就是 -h 192.168.0.12无法连接。
请问问题出在哪? 怎么解决?
操作系统是 CentOS.
多谢!
c*****d
发帖数: 6045
27
来自主题: Database版 - Mysql无法远程连接,求助
你问题描述的不是很清楚
你说“在服务器本机,用 mysql -h 10.1.1.1 可以连接; -h localhost 可以连接;
-h 127.0.0.1也可以连接。但就是 -h 192.168.0.12无法连接。”
我可以理解为“在服务器本机,用 mysql -h 192.168.0.12无法连接。”
也可以理解为“在192...的其他机器,用 mysql -h 192.168.0.12无法连接。”
我估计你问的是第二个
原因两个,一个是楼上说的防火墙,开放3306端口,不过我估计你不是这个问题
第二个原因,你查询这个语句
SELECT user, host, db, select_priv FROM mysql.db
看看你使用的user和host在不在列表里
s*i
发帖数: 5025
28
来自主题: DotNet版 - C# HTTP request header parser?
An HTTP request header is pretty much like this, (but encoded):
========================================================
POST / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-
excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwav
e-flash, */*
Referer: http://localhost
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.
G***o
发帖数: 5158
29
来自主题: DotNet版 - Add Web Reference Questions
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
a**y
发帖数: 335
30
来自主题: DotNet版 - asp.net问题急问(初级)
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
a*i
发帖数: 33
31
来自主题: DotNet版 - How to change web method's name?
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!!!
t******t
发帖数: 51
32
来自主题: DotNet版 - .NET 新手 请教两个弱问题
.NET 新手 请教两个弱问题:
1。 在Visual C# 里, 大家如何产生可以连接Oracle9 的JDBC connection? 要不要安装
什么Oracle提供的插件?
2。 我用ASP写了一个小的application,
当从本地机打开浏览器时可以运行:http://localhost/MY_APP/start.aspx
如何从别的机器上打开这个页面?
汗。。。 以前只用过J2EE, 换了Windows 就什么都得从头学。
p*p
发帖数: 75
33
来自主题: DotNet版 - asp.net/IIS configuration problem
http://localhost/iisstart.htm is browsed: THe "Under Construction..." is
actually the content of the iisstart.html. :)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html
just
system
course
ans.
2003server/IIS/ASP.NET
issue.
about
d*r
发帖数: 238
34
来自主题: DotNet版 - 我狂头昏...
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.

/
of
changes
i**p
发帖数: 902
35
来自主题: DotNet版 - Curious for VBSCRIPT in ASP file
Sorry, my code is this. run it as http://localhost/test.asp?page=1
<%
abc = 10000
page = Request.QueryString("page")

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?
y********o
发帖数: 2565
36
来自主题: DotNet版 - Problem connecting to SQL Server
我用这个connection string, 不能从我的web application连到SQL Server.
"Data Source=localhost;Initial Catalog=MyWebAPPdb; User Id=usrnm; Password=w
odemima;";
但是可以用usrnm和wodemima从Management Studio用SQL Server Authentication模式成
功登录并浏览MyWebAPPdb数据库的表格,以及做其他操作。
我已经启用了SQL Server Authentication和Windows Authentication两种模式了,缘何
从web application里面还是不能连接成功?
N********n
发帖数: 8363
37
来自主题: DotNet版 - Problem connecting to SQL Server

What's the name of your sql server? Put it in the above data source
and remove that 'localhost'.
N********n
发帖数: 8363
38
来自主题: DotNet版 - Problem connecting to SQL Server

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.
c**e
发帖数: 2558
39
来自主题: DotNet版 - Problem connecting to SQL Server
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.

c
un
prov
S
s*****w
发帖数: 215
40
sql server reporting services在publishing的时候
总是出现输入用户名和密码的对话框
target url用的是:http://localhost/reportserver
研究了四五个小时也没有弄好
网上好像同样问题的人很多
但是也没有找到好的solution
在那个configuration tool里面也没有找到好的设置
不知道要不要修改IIS什么的
请大家帮忙
多谢!!!!!
h***r
发帖数: 31
41
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
t********5
发帖数: 274
42
来自主题: DotNet版 - 求救一个小问题
我也认为是button的事件里写的
可是我找不到那个button相关的任何代码
是flash,整个页面主要都是flash的,我以前没接触过flash方面的编程,不知道您有
没有什么猜想,我顺着路子去找一找
table.aspx页面,就是有聊天窗口,有send按钮的这个页面
<%@ Page Title="" Language="VB" MasterPageFile="~/Shared/xxxx.master"
AutoEventWireup="false"
CodeFile="table.aspx.vb" Inherits="VNT_table" %>
"Server">

阅读全帖
F**********d
发帖数: 22
43
应该没有,就是直接在visual studio里面f5或者从solution explorer里面open in
browser,run from visual studio的build in localhost web server.

2.
b***i
发帖数: 3043
44
很久没搞,今天调试,发现我自己开发的机器是windows 7,iis7,调试没问题。
我试图向另一个电脑复制这个程序出了问题。是不是我得安装我的程序,就是说build
成Installation文件,然后到另一个电脑运行?或者我觉得是不是得publish到另外哪
个电脑的wwwroot?我今天在另外那个电脑看iis6的设置,然后browser,iis6的窗口出现
service unavailable,ie看localhost也是一样。windows xp的机器。这个会是什么原
因?
f*******w
发帖数: 407
45
关于用自家电脑做网站服务器的一个技术问题
我已经安装好了WAMP,在LOCALHOST上能查看网页以及和数据库交流了。向网络服务商
买了static IP。请问下一步我是不是:
1.设置自家电脑使用这个static IP(如何设置啊?)。
2.在商家如GODADDY买domain并且把domain assign给我所有的static IP。
就OK 了?
菜鸟上路,多多指教。
n****y
发帖数: 270
46
来自主题: DotNet版 - 求教deployment 的问题
在web server上加了两个新的web site.现在的问题是可以在本机上看到
http://localhost:8080 以及 http://ipaddress:8080
但在remote的机子上面却无法看到网页的内容。defaultWebSite 没有任何问题。 请问
是不是port number被block 了?
d******8
发帖数: 2191
47
来自主题: DotNet版 - WebSocket问题 (转载)
【 以下文字转载自 BuildingWeb 讨论区 】
发信人: dd322508 (银河), 信区: BuildingWeb
标 题: WebSocket问题
发信站: BBS 未名空间站 (Sun Aug 24 15:48:23 2014, 美东)
第一次学习JavaScript WebSocket做了个小实验,用它去连接本地C# Server,结果
server上显示连接成功了,但JS却一直处于正在连接状态。下面的代码解释部分代表输
出(未输出)的状态。如果在Javascript后加上cnt.send('abc'),错误信息为:
InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in
CONNECTING state.。等很久都没有timeout error,说明Javascript一直在连接Server
。但是Server已经显示连接成功了呀。求牛人指点!
Javascript:
var cnt=new WebSocket("ws://localhost:8001");
cnt.onopen=f... 阅读全帖
z****e
发帖数: 3810
48
来自主题: EmergingNetworking版 - 用godaddy的请看看
最近买了godaddy的hosting的服务,php和mysql连接总连不上.这是我的code:
mysql_connect ('www.mysite.com', 'myuser', 'mypassword');
mysql_select_db ('myuser');
只有可能是hostname错了,hostname换了'localhost'也不行.请教各位了.谢谢!
j*****o
发帖数: 320
49
来自主题: EmergingNetworking版 - 家用router怎么封不掉pplive
用hosts文件封
C:\windows\system32\drivers\etc\hosts
127.0.0.1 localhost pplive.com ...
n**********l
发帖数: 271
50
来自主题: EmergingNetworking版 - TCP/IP 刨根问底
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
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)