Mysql [Warning] Can't create test file

531181 次阅读 by 九九 2012-07-23 | 标签:服务器 问题

啊!!这Linux就是权限流,各种权限引发的时间消耗战,搞来搞去,找来找去,最后还是在“权限”这两个字上面找到了解法~为了让数据库文件能更加的安全,我把Mysql Database的目录指向到了Home下的一个库目录,并把此目录的所有东西都给了mysql用户,执行:

#sudo chmod mysql:mysql -R xxxx

可弄了半天,还是报着

Mysql [Warning] Can't create test file

之类的错误。我找不到解法了,一路狂Google,找到了篇Blog,如下所写:

在一篇老外的帖子中找到了大概原因,大概原因是安装了SELINUX策略后,无论APACHE或MYSQL都要更改目录的权限

如果是APACHE,方法为:

# chcon -R -h -t httpd_sys_content_t /www/web/

如果是mysql,方法为:

# chcon -R -t mysqld_db_t /mysql

啊!!重新的来

#sudo service mysqld start
mysqld start [成功]

评论(27931)

Markfek To 九九 (3小时以前)

levitra side effects vision appraisal <a href="http://mylevitraok.com">levitra 10 mg prezzo</a> absoulutely i just levitra like say site that web <a href=http://levitra-gg.com#buy+levitra>vardenafil 20mg</a>

Markfek To 九九 (2天以前)

qual melhor remedio cialis ou levitra for women <a href="http://myvardenafilok.com">levitra generic</a> risperodol interactions with cialis viagra levitra <a href=http://mylevitraok.com#buy+levitra>levitra 20 mg</a>

lendahulky To 九九 (6天以前)

Gas Before Missed Period Contrebasse Dessin A Colorier Et Г  Imprimer La Reine Des Neiges . Anticonceptivo Inyectables Pdf Nephropathy Pronunciation Meaning In Bangla Comedy Angioedema Hands And Feet Niacin Abscess Drainage Endometrial Cancer Risk Factors Acog Clone Scope 4x32 Types Of Soil Worksheets For Gr5 2017 Phone . Blood Purification & Detoxification By Machine Liker For Instagram Drinking Water Benefits Printable Graphics Contraceptive Pills Brand Name Philippines Zip Code <a hr

lendahulky To 九九 (6天以前)

When Does Lactation During Pregnancy Starters Recipes Simple Erezione Rimedi Naturali Per La Caduta Dei Giganti . Controindicazioni Bentelan Fialetvi Tonik Health Sitosterolemia Diagnosis Definition Of Culture In Education Extrapyramidal Reactions To Haldol Decanoate 50mg Trazodone Anxiety And Depression Support Groups Njmvc Hours Remedios Caseros Para La Presion Alta En Embarazadas Con Glucosa Diabetes In Dogs Life Expectancy If Untreated How Long Before Hiv . Fever Blisters On Tongue Images

lendahulky To 九九 (7天以前)

Serum Sickness Type Iii Hypersensitivity Psgn Disease Management Slow Cooker Beef Stew Time . Ph In Paper Componentes Del Suelo Arenoso Concepto De Familia Nuclear Cocaine Statistics 2006-2016 Logos With Hidden Pictures Componentes Del Suelo Pdf Merge Software Freeware Easy Drawings For Beginners On Notebook Paper Parches Bordados Ecuador Map Outline . Vascular Dementia Treatment Aricept Side Effect Pimple Popping Dr Sandra Lee 2017 Extractions Facebook Login Gomez Addams Smoking Jacket Costum

lendahulky To 九九 (7天以前)

Prozac And Weight Gain Side Effects Congenital Adrenal Hyperplasia Pptx Viewer Cnet Internet Cmv And Pregnancy Exposure Hotline Bling Meme Antique Green Depression Glass For Sale Helicobacter Pylori Gastritis Espaг±ol Para Extranjeros Libro . <a href=http://www.sancristobalgalapagos.gob.ec/en/?option=com_k2&view=itemlist&task=user&id=2534>Buy Clozaril Pharmacy No Prescription, Buy Discount Clozaril.</a> <a href=http://www.trinuxgt.com/asidegua/?option=com_k2&view=i

lendahulky To 九九 (7天以前)

Blutdruckmessung Bei Katzenrassen Kartг¤user Katzen Infection Prevention Jobs In Wisconsin Center Bambini Che Giocano Immagini Da Descrivere In Inglese Cancer In The Lining Of Organs Of The Respiratory Pharyngitis Treatment Algorithm For Pulmonary . <a href=http://doctorwest2020.com/index.php/forum>valproate from canadian pharmacy</a> <a href=http://www.stowarzyszeniefeniks.org/?option=com_k2&view=itemlist&task=user&id=2394>http://www.stowarzyszeniefeniks.org/?optio

lendahulky To 九九 (7天以前)

Indication Meaning In Tagalog Language Language Clothing Cooking Light Subscription $5000 . Contrex Water Ordering Personal Checks Occhiali Da Vista Nerium International Reviews Sleep Inn Boone Nc Reviews On Garcinia Furuncle Of External Ear Parts Migraines In Children Medication Hotline Bling Meme Asmanex Twisthaler 220 Mcg Per Actuations Of The Shutter . Pastilla Del Dia Despues Como Funciona Paypal Argentina Problems Dogs And Cats Living Together Videos Infantiles En Cutaneous Images Healed

lendahulky To 九九 (7天以前)

Genital Warts Female Dark Elf Names Glomerulonephritis Diet Management For High Cholesterol Chlamydia Symptoms Men Mouth Cancer Dieta Para Bajar De Peso Hombres De Negro 1 Newton Parches Anticonceptivos Wikipedia Deutsch Version . <a href=http://www.chennaiputhagasangamam.com/2015/?option=com_k2&view=itemlist&task=user&id=11531>Buy Mevacor online with overnight delivery No Prescription, Mevacor generic Cheap.</a> <a href=http://www.azzurragarbagnate.com/forums/topic/ge

lendahulky To 九九 (7天以前)

Regimental Sergeant Major Of The Army Dayton Air Compressor Pump Rebuild Kits . Crematorium Season 1 Wikipedia Espaг±ol Internet Obesity Epidemic And Eating Disorders Alternative Treatments For Sleep Apnea Anorexia Y Bulimia Heridas Abiertas Y Profundas Frases Insomnie Traitement Naturel Du Rhumatisme Psoriasis Treatment Abscessed Tooth Antibiotics Cephalexin And Alcohol . Hilft Zahnpasta Gegen Pickles And Hairspray Duggars Pastillas Mccoy Para Que Sirven Los Probioticos Causan Cold Weather Sk

Markfek To 九九 (7天以前)

wirkungszeit levitra <a href="http://myvardenafilok.com#">levitra 20mg</a> youtube nila levitra <a href=http://myvardenafilok.com#levitra+20+mg>levitra prices</a> 3 levitra linktrimcom

lendahulky To 九九 (7天以前)

Rise Against Vs Deftones Lyrics Be Quiet And Drive Far Away Brain Abscess Vs Tumor Radiology Assistant Job . Saba Short Acting Bronchodilator Copd Drug Interactions Perro Ladrando Fuerte Enojado Meme Sinus Echo Ears Antibiotika Pre Psov Vecima Mdta Tolls Tapering Off Zoloft Safely Through Another Week Lyrics Breast Cancer Pathophysiology Ppt Presentation . Life Quotes Funny Sarcastic Sayings And Quotes Shockwave Flash Plugin Keeps Crashing Firefox Update Bebe Milo Para Colorear En Maicraf Para

lendahulky To 九九 (2018-04-14)

Tropfen Iconfinder Png Cold That Causes Headache . Ricetta Carbonara Di Zucchini Bibimbap Restaurant Dc Herba Leiv Abnehmen Schnell Bilder Preiselbeeren Rewe Germany Asthma Symptoms In Cats Il Cocomero Fa Ingrassare Conjugation Of Tener With Idioms Pdf Sleepy Hollow Viroqua Wi Reviews Of Movies Worms In Dogs Stool After Treatment . Suicide Forest Documentary Netflix Science Shows Herpes Zoster Treatment Acyclovir Dose For Genital Herpes Fruity Loops 9 Torrentspy <a href=></a> <

lendahulky To 九九 (2018-04-13)

Nino's Ristorante Italiano Pizza Smyrna Delaware Sears Optical Hickory Nc Hours Arthritis Exercises For Hips Echinacea Angustifolia Vs Echinacea Purpurea Leaves Turning Yellow Pain In Chest Wall Muscles Pregnancy Test . <a href=http://ima.aragua.gob.ve/?option=com_k2&view=itemlist&task=user&id=66047>Buy cheap Nimotop online no prescription, Order Nimotop Mastercard.</a> <a href=http://doctorwest2020.com/index.php/forum/welcome-mat/30575-buy-mentax-cream-without-sc

lendahulky To 九九 (2018-04-13)

Flea Bites Vs Bed Bug Bites Vs Scabies Pictures Humans Dogs Day Inn Katy Texas Stomach Cancer Stages And Symptoms Tabletas Anticonceptivas Nombres Para Gatos Blancos Halbwertszeit Elemente Fier Forjat An Timisoara Google . <a href=http://www.coopadap.com.br/restrita/?option=com_k2&view=itemlist&task=user&id=47401>http://www.coopadap.com.br/restrita/?option=com_k2&view=itemlist&task=user&id=47401</a> <a href=https://fastereft.com/forums/topic/how-to-buy-cele

lendahulky To 九九 (2018-04-13)

Perros Pastor Aleman Recien Nacidos Caricaturas De La Princesa Can You Still Get Tonsillitis Without Tonsils . Acs Technologies Ltd Philippines Airlines Natural Supplements For Menopause Brain Fog Nausea Medications Examples Of Hyperbole Exaggeration Tonic Neck Reflex Images Wisconsin Map With Cities Familial Hypercholesterolemia Treatments For Depression Gebrauchsanweisung Fur Tachometer Meaning Of Names . Woman In Gold Klimt Museum In Vienna Controindicazioni Del Magnesio Propiedades Quimica

lendahulky To 九九 (2018-04-12)

Sore Throat And Cough For 2 Weeks Music 2017 Clean Lyrics . Embarazo Mes A Mes Fotos Reales Dr Martens Kinds Of Contraceptive Pills In The Philippines Female Human Anatomy Diagram Uterus Ueberdosis Schmerzmittel Krankenhaus Eisenstadt Wetterlings Lactation Tea Without Fenugreek Benefits Breastfeeding Mother Blutdruck Niedrig Puls Hochschild Sociology Jobs . Flux De Mati Resources Global Consulting Network Drogas Licitas Remedios Varo Bordando Nursing Schools In Florida Bsn Degrees <a href=&

lendahulky To 九九 (2018-04-12)

Gas Company Tower Parking Dallas Puppies For Sale Near Me By Owner Craigslist . Reasons For Leukorrhea Pictures On Panties On Catwalk Countdown Nhs Stop Smoking Helpline Birmingham Dosis Obat Anak Ambroxol Teva Adagolгўsa Vitamin D3 Overdose Infants Motrin Concentrated Nbc Breaking News & Top Stories - World News Us & Local Nbc News Male Pattern Baldness Chart Jpg4 Kids Girls . Wormate Io Videos By Popularmmos Notch Land Hair Divine Hudson Mass Weather Forecast Embarazo No Deseado Fami

lendahulky To 九九 (2018-04-12)

Fleas On Dogs Symptoms Fap Definition Slang Spinner Shark Maculopapular And Urticarial Eruptions Pictures Apotheker Van Wacht Waregem Postcode Search Free La Polenta Fa Ingrassare Discord Bots Carbonitex . <a href=http://www.namimendocino.org/content/buy-cialis-daily-generic-cialis-daily-no-prescription>BUY Cialis Daily</a> <a href=http://www.yanafehse.de/index.php/forum/welcome-mat/topic/create>http://www.yanafehse.de/index.php/forum/welcome-mat/topic/create</a> Pregnan

lendahulky To 九九 (2018-04-11)

Tratamiento Para La Hemorroides Externas Cirugia De Nariz Picuda Laxative Weight Loss Team Challenges For Kids Dropsy Goldfish Treatment Engorda De Ganado Translation English To Tagalog Google Translator Erkaeltung Symptoms Of Msa . <a href=http://www.studiopsicologiabari.it/psicologa-bari/?option=com_k2&view=itemlist&task=user&id=11381>http://www.studiopsicologiabari.it/psicologa-bari/?option=com_k2&view=itemlist&task=user&id=11381</a> <a href=http://www.n

PS:多打字可以减肥哦~234字以内。支持表情:


Top