What file is responsible for mysql data?
What file is responsible for mysql data?
I need to edit file which contain information about mysql data.
What is name of that file and where is located?
What is name of that file and where is located?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: What file is responsible for mysql data?
Hi!
It's serendipity_config_local.inc.php.
Regards,
Garvin
It's serendipity_config_local.inc.php.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 70
- Joined: Fri Feb 23, 2007 6:13 pm
- Location: Freiburg/Germany
- Contact:
I'm not sure but I think that this file is created while installing Serendipity. It's placed in your installation directory and contains the following code:
Code: Select all
<?php
/*
Serendipity configuration file
Written on Sat, 07 Apr 2007 19:03:41 +0200
*/
$serendipity['versionInstalled'] = '1.1';
$serendipity['dbName'] = 'dnName';
$serendipity['dbPrefix'] = 'serendipity_';
$serendipity['dbHost'] = 'localhost:3306';
$serendipity['dbUser'] = 'username';
$serendipity['dbPass'] = 'password';
$serendipity['dbType'] = 'mysql';
$serendipity['dbPersistent'] = false;
$serendipity['dbCharset'] = 'utf8';
// End of Serendipity configuration file
// You can place your own special variables after here:
?>
www.ms-reporter.de
Pharma-unabhängige Infos für Multiple Sklerose-Betroffene
schnellze.it
Einzigartiges Zusammenspiel aus Popfetcher und s9y
Pharma-unabhängige Infos für Multiple Sklerose-Betroffene
schnellze.it
Einzigartiges Zusammenspiel aus Popfetcher und s9y
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
No, after s9y instalaltion only this file and .htaccess are written to the directory.
Best regards,
Garvin
No, after s9y instalaltion only this file and .htaccess are written to the directory.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The file must be there, because without it, serendipity is not installed.
Are you sure that you really INSTALLED serendipity, as documented? You can't simply unpack the ZIP archive from Serendipity, because there the file is not yet created. The file is created through the use of the web-installer that you have to use, you get it via accessing http://yourhost/serendipity/...
Regards,
Garvin
The file must be there, because without it, serendipity is not installed.
Are you sure that you really INSTALLED serendipity, as documented? You can't simply unpack the ZIP archive from Serendipity, because there the file is not yet created. The file is created through the use of the web-installer that you have to use, you get it via accessing http://yourhost/serendipity/...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
This is how proccess go-wget serendipity.tar.gz,tar xvzf serendipity.tar.gz
and then web installer,finishing instalation and start adding entrys to blog.
And there is no sing of that file.When i compared size of installed sd with unpacked sd,it is different in 300 kb-10.7 mb vs 11 mb.And only what i was notice it is creation of 4 files in templates_c folder.
Also i was try to search for text which is here posted with text search and it was'nt be founded.Like that config file is invisible.I spendend hour and half of searching and still nothing.
and then web installer,finishing instalation and start adding entrys to blog.
And there is no sing of that file.When i compared size of installed sd with unpacked sd,it is different in 300 kb-10.7 mb vs 11 mb.And only what i was notice it is creation of 4 files in templates_c folder.
Also i was try to search for text which is here posted with text search and it was'nt be founded.Like that config file is invisible.I spendend hour and half of searching and still nothing.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
If you can post entries to your blog through the admin, then there is a serendipity_config_local.inc.php file!
Ask your provider about permissiosn if you cannot see that file. It definitely is there.
Serendipity cannot operate if that file were not there!
Best regards,
Garvin
If you can post entries to your blog through the admin, then there is a serendipity_config_local.inc.php file!
Ask your provider about permissiosn if you cannot see that file. It definitely is there.
Serendipity cannot operate if that file were not there!
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Heh the problem is i am my own provider hehe.Ah looks like i will have to forget about this and every time when i will want to backup copy entire directory
UPDATE:it seems you are right.I was little thinking and conclude let's take a look structure of directory as root user.And then i was notice that file,it has green color.(i entered over ssh)So i chmoded file to 776 and then it was visible by normal user over ftp.Btw which chmod should be for that file?I asking beacuse 776 chmod is security risk.
UPDATE:it seems you are right.I was little thinking and conclude let's take a look structure of directory as root user.And then i was notice that file,it has green color.(i entered over ssh)So i chmoded file to 776 and then it was visible by normal user over ftp.Btw which chmod should be for that file?I asking beacuse 776 chmod is security risk.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes. Serendipity is usually the only one that should read that file (and root users), because it contains sensitive information. So the original setting it had was the optimal chmod for it.
Best regards,
Garvin
Yes. Serendipity is usually the only one that should read that file (and root users), because it contains sensitive information. So the original setting it had was the optimal chmod for it.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, what do you mean?
It's not a silly organization, it was just you not properly looking for the file.
Best regards,
Garvin
Hm, what do you mean?
It's not a silly organization, it was just you not properly looking for the file.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/