首页 \ 问答 \ XP系统怎么安装sql数据库??

XP系统怎么安装sql数据库??

藕下勒个sql数据库`结果一安装就提示不适合安装``但还是可以安装``但藕安装后`发现连接不上数据库`一连接就提示错``而且在藕桌面右下没有图标```在藕那个服务管理器上只有个MySQL但藕一启动就出错``希望有个好人帮藕远程协助下`` 藕装滴就是sqlserver 个人版
更新时间:2022-10-29 12:10

最满意答案

桌面左下角windows图标--搜索框内输入cmd,结果如图所示,点击cmd.exe,或者使用快捷键Windows键(在键盘上有个Windows标志的按键)+R输入cmd后回车。

在DOS命令窗口输入 mysql -hlocalhost -uroot -p回车 进入mysql数据库,其中-h表示服务器名,localhost表示本地;-u为数据库用户名,root是mysql默认用户名;-p为密码,如果设置了密码,可直接在-p后链接输入,如:-p123456,用户没有设置密码,显示Enter password时,直接回车即可。注意,如果你的mysql没有安装在C盘下,你需要先使用DOS命令进入mysql的安装目录下的bin目录中。以我的电脑为例,方法如下:输入D:进入D盘,在输入cd D:\Tools\MySQL5.5.25\bin进入到mysql的bin目录下才可以输入 mysql -hlocalhost -uroot -p
在mysql>   后面就可以输入 SQL语句了

其他回答

首先看看mysql服务是否已经安装到系统服务中,开始运行里面输入services.msc查看有没有mysql的服务,如果有可以在cmd中输入netstart mysql进行启动,如果没有的话在cmd中运行mysql安装目录下的bin目录中的mysqld start

相关问答

更多
  • 桌面左下角windows图标--搜索框内输入cmd,结果如图所示,点击cmd.exe,或者使用快捷键Windows键(在键盘上有个Windows标志的按键)+R输入cmd后回车。 在DOS命令窗口输入 mysql -hlocalhost -uroot -p回车 进入mysql数据库,其中-h表示服务器名,localhost表示本地;-u为数据库用户名,root是mysql默认用户名;-p为密码,如果设置了密码,可直接在-p后链接输入,如:-p123456,用户没有设置密码,显示Enter password时 ...
  • 首先看看mysql服务是否已经安装到系统服务中,开始运行里面输入services.msc查看有没有mysql的服务,如果有可以在cmd中输入netstart mysql进行启动,如果没有的话在cmd中运行mysql安装目录下的bin目录中的mysqld start
  • 恩恩~ 我也碰到过这个问题。你设置下结果集的编码为gbk试试看 set character_set_results=gbk; 以下属于引用 一般就算设置了表的默认字符集为utf8并且通过UTF-8编码发送查询,你会发现存入数据库的仍然是乱码。问题就出在这个connection连接层上。解决方法是在发送查询前执行一下下面这句: SET NAMES 'utf8'; 它相当于下面的三句指令: SET character_set_client = utf8; SET character_set_results = ...
  • 打开控制面板,再打开“系统”,切换到“高级”选项卡,单击“环境变量”,在弹出窗口中的下面有“系统变量”,看看有没有“path”这个变量,如果有,双击它,把变量值全部删除,粘贴以下部分: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
  • 打引号 “VMware NAT Service"
  • windows环境下是的,不过要切换到你的mysql的安装目录下: cd mysql安装目录\bin 然后就登录mysql mysql -u用户名 -p密码 (本机的mysql) 其他的 mysql -h目标机IP -u用户名 -p密码 (本机的mysql)
  • 用dos进入MYsql的安装目录下的bin目录: D:\mysql5\bin>mysqld-nt.exe -remove Service successfully removed.
  • 打开服务( Start->Run-> "services.msc" )并检查MySQL是否正在运行。 如果不是 - 运行它。 如果它已经运行,那么很可能你有一个防火墙阻塞到端口3306的连接(或者你决定运行MySQL的那个端口)你需要允许到该端口的传入连接(允许连接取决于你的软件')重新使用)。 Just figured out the problem by myself. MySql was bound to listen to only a fixed IP of the Windows Server ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)