]> scripts.mit.edu Git - www/raw.git/blob - faq/59.mdwn
Import from TextPattern
[www/raw.git] / faq / 59.mdwn
1 [[!meta title="What is .my.cnf? What is my sql.mit.edu password?"]]
2 Your sql.mit.edu login information is in your locker, in the file
3 “.my.cnf”. This is a hidden file (dotfile), so you will need to use
4 **ls -a** instead of **ls** to see it. You can still view and edit
5 the file just by specifying the filename.
6
7 athena% **cd /mit/***locker*  
8 athena% **cat .my.cnf**  
9 [mysql]  
10 host=sql.mit.edu  
11 user=*username*  
12 password=*password*
13
14 This file should be a link to “.sql/my.cnf” in your locker, and
15 only accessible by the locker owner and the scripts server
16 (regardless of whether the root of the locker is publicly readable
17 or not).
18
19 If you update your MySQL password on the
20 [MIT SIPB MySQL interface](http://sql.mit.edu/), you will need to
21 update this file manually with your new MySQL password. Otherwise,
22 the [scripts auto-installers](/start), as well as the **mysql**
23 command-line client, will not be able to log in properly. If you
24 have already installed software, you will need to update the
25 password there too (LocalSettings.php for MediaWiki, wp-config.php
26 for WordPress, etc.)
27
28 If you have lost your MySQL password and, it’s not in your .my.cnf
29 file, you can reset it for your personal account by logging into
30 [sql.mit.edu](http://sql.mit.edu/) with your MIT certificate. If
31 you have lost the password for a group locker, please e-mail
32 [sql@mit.edu](http://scripts.mit.edu/sql.mit.edu) for help getting
33 it reset.
34
35
36