D
D
Dastan2016-04-20 08:49:22
Yii
Dastan, 2016-04-20 08:49:22

Where does MySQL login/password come from when you change environment via php init?

To change the Environment of the application I write php init.
As a result, the "components=>db" settings in the common/main-local.php
file are changed. For example , dsn becomes:
'dsn' => 'mysql:host=localhost;dbname=yii2_advanced'
Where does it get this data? Or maybe I'm doing something wrong!?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
enchikiben, 2016-04-20
@dastiw1

from here https://github.com/yiisoft/yii2-app-advanced/tree/...

I
iMike, 2015-04-10
@Steely

It will pass, the open/closed nature of your API doesn't matter. There we are talking about using undocumented, consider closed, methods of the iOS SDK.

R
Roman, 2015-04-11
@DaskOFF

I agree, this has nothing to do with your API.
A private API is available from the SDK side, for example, there is a standard method for showing a "more" button next to the "delete" button in table cells. This function exists, but it is considered private (it is not in the documentation), so they will not let it through

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question