Skip to content

mysql cannot working with fs=ramfs #975

@yuwang888

Description

@yuwang888

i use fs=ramfs to build the mysql
#./scripts/build image=mysql fs=ramfs
#./scripts/run.py -nv
but mysql can not work well
#mysql -h 192.168.122.76 -u root
ERROR 1130 (HY000): Host '192.168.122.1' is not allowed to connect to this MySQL server

the log i found
Warning: World-writable config file '/etc/my.cnf' is ignored
but ls -l /etc/my.cnf is 644
"
Warning: World-writable config file '/etc/my.cnf' is ignored
2018-05-22 12:45:11 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-05-22 12:45:11 0 [Note] Plugin 'FEDERATED' is disabled.
2018-05-22 12:45:11 0 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-05-22 12:45:11 0 [Note] InnoDB: The InnoDB memory heap is disabled
2018-05-22 12:45:11 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-05-22 12:45:11 0 [Note] InnoDB: Memory barrier is not used
2018-05-22 12:45:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-05-22 12:45:11 0 [Note] InnoDB: Using CPU crc32 instructions
2018-05-22 12:45:11 0 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-05-22 12:45:11 0 [Note] InnoDB: Completed initialization of buffer pool
WARNING: fcntl(F_SETLK) stubbed
2018-05-22 12:45:11 0 [Note] InnoDB: Highest supported file format is Barracuda.
2018-05-22 12:45:11 0 [Note] InnoDB: 128 rollback segment(s) are active.
2018-05-22 12:45:11 0 [Note] InnoDB: 5.6.21 started; log sequence number 1625997
2018-05-22 12:45:11 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: f74e65b2-5dbd-11e8-80cd-525400123456.
2018-05-22 12:45:11 0 [Note] Server hostname (bind-address): '*'; port: 3306
2018-05-22 12:45:11 0 [Note] IPv6 is not available.
2018-05-22 12:45:11 0 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2018-05-22 12:45:11 0 [Note] Server socket created on IP: '0.0.0.0'.
2018-05-22 12:45:11 0 [Note] Event Scheduler: Loaded 0 events
2018-05-22 12:45:11 0 [Note] /usr/bin/mysqld: ready for connections.
Version: '5.6.21' socket: '' port: 3306 Source distribution
2018-05-22 12:45:57 0 [Warning] IP address '192.168.122.1' could not be resolved: Name does not resolve
"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions