Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
d2ff854e
Commit
d2ff854e
authored
Jan 08, 2020
by
Junling Bu
Browse files
chore[litemall-db]: 数据库脚本设置允许任意ip访问。
parent
2d4b262b
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-db/sql/litemall_schema.sql
View file @
d2ff854e
drop
database
if
exists
litemall
;
drop
user
if
exists
'litemall'
@
'
localhost
'
;
drop
user
if
exists
'litemall'
@
'
%
'
;
-- 支持emoji:需要mysql数据库参数: character_set_server=utf8mb4
create
database
litemall
default
character
set
utf8mb4
collate
utf8mb4_unicode_ci
;
use
litemall
;
create
user
'litemall'
@
'
localhost
'
identified
by
'litemall123456'
;
grant
all
privileges
on
litemall
.
*
to
'litemall'
@
'
localhost
'
;
create
user
'litemall'
@
'
%
'
identified
by
'litemall123456'
;
grant
all
privileges
on
litemall
.
*
to
'litemall'
@
'
%
'
;
flush
privileges
;
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment