你的位置:

问答吧

-> 服务器

-> 问题详情

请教,mysql编译时出错,chown: “mysql”: 无效的用 户

chown: “mysql”: 无效的用 户

Starting mysqld daemon with databases from /opt/mysql-max-5.0.20-linux-i686-glib c23/data

STOPPING server from pid file /opt/mysql-max-5.0.20-linux-i686-glibc23/data/ldd6 00-hust.pid

用的是 ./configure --prefix=/opt/mysql --with-mysqld-user=root --with-extra-charsets=all --with-unix-socket-path=/opt/mysql/var/mysql.sock

作者: ldd600

发布时间: 2006-04-14

先在系统中创建mysql用户及组

作者: kingduanlian

发布时间: 2006-04-14

我在系统中创建了一个群组叫 mysql

一个用户hongrenldd 使他属于mysql群组

这样还是不行

继续请教

./configure --prefix=/opt/mysql --with-mysqld-user=hongrenldd --with-extra-charsets=all --with-unix-socket-path=/opt/mysql/var/mysql.sock

作者: ldd600

发布时间: 2006-04-14

useradd mysql

它找的应该就是叫mysql的用户。

作者: kingduanlian

发布时间: 2006-04-14

chown: “mysql”: 无效的用户

表明要把当前文件的所有者改变为mysql,如果系统中不存在这个用户的话,当然会出错了。

作者: kingduanlian

发布时间: 2006-04-14

好像不提示这个错误了

可是编译还是同不过 谢谢了

Installing all prepared tables

Fill help tables

To start mysqld at boot time you have to copy support-files/mysql.server

to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

To do so, start the server, then issue the following commands:

./bin/mysqladmin -u root password 'new-password'

./bin/mysqladmin -u root -h ldd600-hust password 'new-password'

See the manual for more instructions.

NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run

the ./bin/mysql_fix_privilege_tables. Otherwise you will not be

able to use the new GRANT command!

You can start the MySQL daemon with:

cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:

cd sql-bench ; perl run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at

http://www.mysql.com

Support MySQL by buying support/licenses at https://order.mysql.com

Starting the mysqld server. You can test that it is up and running

with the command:

./bin/mysqladmin version

[root@ldd600-hust mysql-max-5.0.20-linux-i686-glibc23]# Starting mysqld daemon with databases from /usr/local/mysql-max-5.0.20 -linux-i686-glibc23/data

STOPPING server from pid file /usr/local/mysql-max-5.0.20-linux-i686-glibc23/data/ldd600-hust.pid

060414 11:54:12 mysqld ended

作者: ldd600

发布时间: 2006-04-14

Linux (x86, glibc-2.2, "standard" is static, gcc) Standard 5.0.20 30.3M Download | Pick a mirror

MD5: 5b0471380db88b03267bbabde500b7e0 | Signature

Max 5.0.20 38.7M Download | Pick a mirror

MD5: 8c2c3d2d5bfc11155bc4b9f695e0f369 | Signature

Debug 5.0.20 62.4M Download | Pick a mirror

MD5: 9224a8881a73168a93fe6a29bac5f4fe | Signature

Linux (x86) Standard 5.0.20 26.0M Download | Pick a mirror

MD5: a5075ebda53a02f860fc4b233c51b387 | Signature

Max 5.0.20 39.1M Download | Pick a mirror

MD5: ea660546d861f4f222c999f4c170db3f | Signature

Debug 5.0.20 41.0M Download | Pick a mirror

这些版本该下哪一个 是不是版本下错了

作者: ldd600

发布时间: 2006-04-14

已经装上了吧,在你的Mysql目录中,执行bin/mysqld_safe &,看看能不能启动?

作者: kingduanlian

发布时间: 2006-04-14

全路径是/opt/mysql/bin/mysqld_safe &

作者: kingduanlian

发布时间: 2006-04-14

这个是自解压版 我重新下了个 src的

这个可以直接用的

作者: ldd600

发布时间: 2006-04-14

mysql chown_请教,mysql编译时出错,chown: “mysql”: 无效的用 户相关推荐

  1. 基于ubuntu-20.04.3的snort+Barnyard2+BASE的入侵检测系统安装时Barnyard2反编译时出错解决

    基于ubuntu-20.04.3的snort+Barnyard2+BASE的入侵检测系统安装时Barnyard2反编译时出错解决 在按照https://www.modb.pro/db/159797大佬 ...

  2. android开发板出错,为开发板编译时出错是什么原因

    我也是怎么办 Arduino:1.8.4 (Windows 7), 开发板:"Arduino/Genuino Uno" C:\Program Files\Arduino\ardui ...

  3. ESP32pico-D4,程序编译时出错....

    以下是报错信息 Arduino:1.8.15 (Windows 10), 开发板:"ESP32 Pico Kit, Default, 115200, None" Arduino\l ...

  4. MySQL front 导入导出数据库时出错问题

    从远程数据库导入一个库到本地,从远程数据库导出时正确,在本地生成了sql文件,但是导入到本地数据库时出错. 1046 no database selected 检查本地的MySQL数据库,发现没有与导 ...

  5. 启动VS2005调试器时出错: 绑定句柄无效

    用VS2005新建了一个WINDOWS应用,运行F5就出现"试图运行项目时出错:无法启用调试.绑定句柄无效." 解决方法如下 将工程属性->调试->启用VISUAL S ...

  6. cmake mysql 参数_MySQL cmake编译时这些参数是什么意思?-问答-阿里云开发者社区-阿里云...

    一般用到的参数# -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \ #安装路径 # -DMYSQL_DATADIR=/usr/local/mysql/data \ # ...

  7. pymysql无法访问本地计算机,使用Python和odo模块在mysql上加载csv时出错

    我决定尝试使用odo来处理我的csv数据,因为据说它比使用pandas更快,但我不能让它工作. 这是他们关于将30gb csv文件迁移到MySQL数据库的文档: In [1]: %time t = o ...

  8. mysql导入excel表格数据时出错的解决

    Navicat for MySQL导入数据时报错 1:导入的是Excel2007表格格式的数据. 2: 报错以后数据加进去了.(选择了错误继续执行) 3:这个错误对我的数据有影响吗? 4:造成这个错误 ...

  9. mysql utf8mb4 错_mysql - MySQL utf8mb4,保存Emojis时出错 - 堆栈内存溢出

    我尝试从MySQL数据库中的服务中保存用户的名称. 这些名字可以包含像

最新文章

  1. Cytoscape制作带bar图和pie图节点的网络图
  2. MAR-8ASM射频放大器测试
  3. 怎么查看一个网站是用什么语言编写的?
  4. 51CTO各位博友大家好!
  5. 第一个servlet
  6. 多线程中的互斥控制程序代码_互斥锁解决 Python 中多线程共享全局变量的问题...
  7. java开发的格式与书写规范
  8. Python的mpl_finance模块从2020年已经提醒弃用,新mplfinance模块详解(二)
  9. 新概念二册 Lesson 13 The Greenwood Boys绿林少年 (将来进行时)
  10. 薪酬缩水,“裸辞”奋战25天三面美团,交叉面却被吊打,我太难了
  11. Oracle 序列使用整理
  12. 推荐一款过滤百度广告的神器
  13. 推荐一个好的节拍器软件?3款App帮你成为节奏大师
  14. 【计科快速入门】一、计算机早期历史
  15. 浅谈PHP代码执行的大致流程(opcode)
  16. 一些ps会遇到的问题
  17. 七年老安卓的九十月小结
  18. Android-ubuntu配置
  19. Windows 系统错误码
  20. hive中出现rg.apache.hadoop.hive.ql.exec.mr.MapRedTask错误

热门文章

  1. 03 项目分析阶段(一)
  2. 温州无证程序员被拘留--程序员伤不起呀。。。。
  3. 轮子四:QT保存数据到 office word文档
  4. hjm家族信托科技研究报告
  5. 【生物医学的前沿问题】自动识别急性缺血性中风的亚型
  6. c# datagridview选中整行
  7. 怎么用计算机开方知识点,高中数学知识点:开平方根的方法和步骤
  8. 堆的相关操作(创建堆、插入、删除、堆排序、top-k问题)
  9. AssetBundle 使用模式 (2)
  10. Fedora安装过程讲解