-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
39 lines (24 loc) · 1.16 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/ ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'djwordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', 'J0sephXX');
/** MySQL hostname */
define('DB_HOST', 'localhost');
ysql> create database max_db;
Query OK, 1 row affected (0.00 sec)
mysql> grant all privilege on max_db to max_user@localhost identified by 'max_db_YRS_2013';
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'privilege on max_db to max_user@localhost identified by 'max_db_YRS_2013'' at line 1
mysql> grant all privileges on max_db to max_user@localhost identified by 'max_db_YRS_2013';
ERROR 1046 (3D000): No database selected
mysql> grant all privileges on max_db.* to max_user@localhost identified by 'max_db_YRS_2013';
Query OK, 0 rows affected (0.00 sec)
-----------------------------
push to git up
then log in to DJ's server using putty
then cd public_html/madlabmap
git pull
then test in browser
http://pipetree.com/~max/madlabmap/